-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
I am getting mocha crashes while trying to debug problems with my promises lib and running the test suite:
/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/reporters/spec.js:32
return Array(indents).join(' ')
^
RangeError: Invalid array length
at indent (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/reporters/spec.js:32:12)
at Runner.<anonymous> (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/reporters/spec.js:73:17)
at Runner.emit (events.js:117:20)
at Runner.fail (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/runner.js:199:8)
at Runner.uncaught (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/runner.js:549:8)
at process.uncaught (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/runner.js:580:10)
at process.emit (events.js:95:17)
at process._fatalException (node.js:272:26)
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Any ideas what's going on?
Here's another variation I get of the error:
/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/reporters/spec.js:0
(function (exports, require, module, __filename, __dirname) {
RangeError: Invalid array length
at indent (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/reporters/spec.js:32:12)
at Runner.<anonymous> (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/reporters/spec.js:73:17)
at emitTwo (events.js:92:20)
at Runner.emit (events.js:172:7)
at Runner.fail (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/runner.js:199:8)
at Runner.uncaught (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/runner.js:549:8)
at process.uncaught (/tmp/node_modules/promises-aplus-tests/node_modules/mocha/lib/runner.js:580:10)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process._fatalException (node.js:211:26)
npm ERR! Test failed. See above for more details.
Metadata
Metadata
Assignees
Labels
No labels