Closed
Description
This is related to socketio/socket.io-client#969
Again, not sure why the npm package is 1.6.9 while the source code here is only at version 1.6.8
I traced the problem down to the engine.io-client 1.6.9 update in the socket.io-client update.
After npm install --save socket.io-client
I changed the package.json
reference to be for 1.6.8
:
/usr/src/app $ grep engine.io-client node_modules/socket.io-client/package.json
"engine.io-client": "1.6.8",
And now my tests work:
$ ./test/run_tests InfoController
InfoController
/version:
✓ should return json (57ms)
✓ should have valid json info
InfoController with sockets
/version:
✓ should return data
3 passing (16s)
Changing it back to 1.6.9, here is what happens:
$ ./test/run_tests InfoController
InfoController
/version:
✓ should return json (41ms)
✓ should have valid json info
InfoController with sockets
/version:
1) should return data
2 passing (12s)
1 failing
1) InfoController with sockets /version: should return data:
Error: timeout of 5000ms exceeded. Ensure the done() callback is being called in this test.
Metadata
Metadata
Assignees
Labels
No labels