LearnBoost/socket.io-client — Issue #376: make test errors in 0.8.7 on node 0.4 and 0.6
Author: gavinuhma
Created: 2012-01-25 16:01:13+00:00
State: open

In node 0.4.12:
`make test-acceptance` runs fine.

`make test` errors:

$ make test
.........................
.........................
................
uncaught: TypeError: Cannot read property 'style' of undefined
at undefined:2:40732
at undefined:2:42671
at Object.execute (/Users/node/socket.io-client/test/node/builder.common.js:99:10)
at /Users/node/socket.io-client/test/node/builder.test.js:52:23
at /Users/node/socket.io-client/bin/builder.js:219:7
at [object Object]. (fs.js:107:5)
at [object Object].emit (events.js:61:17)
at afterRead (fs.js:878:12)
at wrapper (fs.js:245:17)

uncaught: TypeError: Cannot read property 'style' of undefined
at undefined:2:40732
at undefined:2:42671
at Object.execute (/Users/node/socket.io-client/test/node/builder.common.js:99:10)
at /Users/node/socket.io-client/test/node/builder.test.js:114:23
at /Users/node/socket.io-client/bin/builder.js:219:7
at [object Object]. (fs.js:107:5)
at [object Object].emit (events.js:61:17)
at afterRead (fs.js:878:12)
at wrapper (fs.js:245:17)

Failures: 2

make[1]: *** [run-tests] Error 2
make: *** [test] Error 2

I've tried master branch, it doesn't help.

In node 0.6.8:
both the acceptance and node tests are totally messed up.
Similar to this: https://github.com/LearnBoost/socket.io-client/pull/364
and this: https://github.com/visionmedia/expresso/issues/138

Trying to get these tests working so I can get my bug fixes tested before I pull request.

Would definitely prefer to get the tests working in n6, since that's what our project is using.