dascher-29223:cayley.js dascher1$ mocha
cayley
✓ test All (44ms)
✓ test GetLimit
1) test Vertex
2) test V.In
3) test V.Has
4) test Morphism
✓ test Emit
✓ test type shape
5) test write
cayley
✓ test All
✓ test GetLimit
6) test Vertex
7) test V.In
8) test V.Has
9) test Morphism
✓ test Emit
7 passing (15s)
9 failing
1) cayley test Vertex:
Uncaught TypeError: Cannot read property 'length' of null
at test/cayley.js:30:26
at lib/v1/gremlin.js:133:9
at Request._callback (lib/v1/gremlin.js:23:9)
at Request.self.callback (node_modules/request/request.js:200:22)
at Request.<anonymous> (node_modules/request/request.js:1041:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:968:12)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
2) cayley test V.In:
Uncaught TypeError: Cannot read property 'length' of null
at test/cayley.js:38:26
at lib/v1/gremlin.js:133:9
at Request._callback (lib/v1/gremlin.js:23:9)
at Request.self.callback (node_modules/request/request.js:200:22)
at Request.<anonymous> (node_modules/request/request.js:1041:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:968:12)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
3) cayley test V.Has:
Uncaught TypeError: Cannot read property 'length' of null
at test/cayley.js:46:26
at lib/v1/gremlin.js:133:9
at Request._callback (lib/v1/gremlin.js:23:9)
at Request.self.callback (node_modules/request/request.js:200:22)
at Request.<anonymous> (node_modules/request/request.js:1041:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:968:12)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
4) cayley test Morphism:
Uncaught TypeError: Cannot read property 'length' of null
at test/cayley.js:55:20
at lib/v1/gremlin.js:133:9
at Request._callback (lib/v1/gremlin.js:23:9)
at Request.self.callback (node_modules/request/request.js:200:22)
at Request.<anonymous> (node_modules/request/request.js:1041:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:968:12)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
5) cayley test write:
Uncaught AssertionError: expected 'New Movie' to equal ''
at test/cayley.js:97:20
at lib/v1/gremlin.js:133:9
at Request._callback (lib/v1/gremlin.js:23:9)
at Request.self.callback (node_modules/request/request.js:200:22)
at Request.<anonymous> (node_modules/request/request.js:1041:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:968:12)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
6) cayley test Vertex:
TypeError: Cannot read property 'length' of null
at test/thenable.js:29:26
at _fulfilled (node_modules/q/q.js:834:54)
at self.promiseDispatch.done (node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (node_modules/q/q.js:796:13)
at node_modules/q/q.js:604:44
at runSingle (node_modules/q/q.js:137:13)
at flush (node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
7) cayley test V.In:
Error: timeout of 5000ms exceeded. Ensure the done() callback is being called in this test.
8) cayley test V.Has:
Error: timeout of 5000ms exceeded. Ensure the done() callback is being called in this test.
9) cayley test Morphism:
Error: timeout of 5000ms exceeded. Ensure the done() callback is being called in this test.
I'm not sure why