-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
There is an error in the testing that allows the tests to pass, before supertest errors out, for Koa/Monk.
Error follows:
[projectroot]/node_modules/supertest/node_modules/superagent/lib/node/index.js:728
if (2 == fn.length) return fn(err, res);
^
TypeError: Cannot read property 'length' of undefined
at Test.Request.callback ([projectroot]/node_modules/supertest/node_modules/superagent/lib/node/index.js:728:14)
at ClientRequest.<anonymous> ([projectroot]/Tmp/node_modules/supertest/node_modules/superagent/lib/node/index.js:693:10)
at ClientRequest.EventEmitter.emit (events.js:107:17)
at Socket.socketOnEnd (_http_client.js:288:9)
at Socket.EventEmitter.emit (events.js:129:20)
at _stream_readable.js:898:16
at process._tickCallback (node.js:343:11)
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0Metadata
Metadata
Assignees
Labels
No labels