componentjs / builder2.js

builder for component
50 stars 20 forks source link

tests failed #19

Closed remoe closed 10 years ago

remoe commented 10 years ago

Hi

Tests failed on my system

copy ✓ should install ✓ should build (71ms) ✓ should have copied files

js-scripts ✓ should install (946ms) ✓ should build ✓ should rewrite requires ✓ should execute (76ms)

js-scripts -dev ✓ should install ✓ should build ✓ should rewrite requires ✓ should execute (75ms)

js-main ✓ should install ✓ should build ✓ should rewrite requires ✓ should execute (79ms)

js-json ✓ should install ✓ should build ✓ should execute (76ms)

js-templates ✓ should install ✓ should build ✓ should execute (75ms)

js-extension ✓ should install ✓ should build ✓ should rewrite requires ✓ should execute (78ms)

js-glob ✓ should install ✓ should build ✓ should execute (76ms)

js-infer-main ✓ should install ✓ should build ✓ should execute (76ms)

js-debug ✓ should install (1249ms) ✓ should build

css-simple ✓ should install ✓ should build ✓ should be correct

css-local-ordering ✓ should install ✓ should build ✓ should be correct

css-url-rewriting ✓ should install ✓ should build ✓ should be correct

css-glob ✓ should install ✓ should build ✓ should be correct

font-awesome 1) should install 2) should build 3) should be correct

symlink ✓ should install ✓ should build ✓ should have symlinked files

48 passing (5s) 3 failing

1) font-awesome should install: Error: timeout of 2000ms exceeded at null. (./builder2.js/node_modules/mocha/lib/runnable.js:175:14) at Timer.listOnTimeout (timers.js:132:15)

2) font-awesome should build: TypeError: Cannot read property 'length' of undefined at Styles. (./builder2.js/lib/builders/builder.js:149:31) at GeneratorFunctionPrototype.next (native) at Styles.next (./builder2.js/node_modules/co/index.js:76:21) at Immediate._onImmediate (./builder2.js/node_modules/co/index.js:95:18) at processImmediate as _immediateCallback

3) font-awesome should be correct: TypeError: Cannot read property 'should' of undefined at Context. (./builder2.js/test/styles.js:78:8) at GeneratorFunctionPrototype.next (native) at next (./builder2.js/node_modules/co/index.js:76:21) at Context. (./builder2.js/node_modules/co/index.js:56:5) at Test.Runnable.run (./builder2.js/node_modules/mocha/lib/runnable.js:204:15) at Runner.runTest (./builder2.js/node_modules/mocha/lib/runner.js:374:10) at ./builder2.js/node_modules/mocha/lib/runner.js:452:12 at next (./builder2.js/node_modules/mocha/lib/runner.js:299:14) at ./builder2.js/node_modules/mocha/lib/runner.js:309:7 at next (./builder2.js/node_modules/mocha/lib/runner.js:247:23) at Immediate._onImmediate (./builder2.js/node_modules/mocha/lib/runner.js:276:5) at processImmediate as _immediateCallback

make: *\ [test] Error 3

jonathanong commented 10 years ago

lol you must have a slow connection. bump up the timeout in the makefile https://github.com/component/builder2.js/commit/e522f0d122a9196dd1d636b2aab5a800dcb19c33

remoe commented 10 years ago

yes: "Error: timeout of 2000ms exceeded". I've seen "TypeError: Cannot read property 'should' of undefined" :)

jonathanong commented 10 years ago

well they're all dependent on the first.