Closed mkatsoho closed 8 years ago
Sorry, it's out of scope for this little hack. See https://github.com/danielstjules/mocha.parallel/issues/5#issuecomment-152943025
Thanks for your updates.
It's now available in the latest release! :)
Edit: typo!
I find out mocha.parallel does not support timeout() function, which mocha supports.
js codes:
parallel( "volumn test to read/write user profile", function(){ this.timeout(12000); // case timeout it('spec', function(done){ done(); }); })
error info:
$ mocha test/userProfile2.js /home/mk/dev/volumn-test/test/userProfile2.js:261 this.timeout(12000); // case timeout ^ TypeError: undefined is not a function
versions used:
$ npm ls mocha mocha.parallel /home/mk ├── mocha@2.2.5 └── mocha.parallel@0.11.2