You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mocha:cli:run:helpers debug logs, it will print current concurrent jobs like below:
$ DEBUG=mocha:cli:run:helpers ./bin/mocha --parallel -jobs=3 sample.test.js
mocha:cli:run:helpers files (in order): [ '/Users/jeonghoon/Dropbox/projects/github/mocha/tt.js' ] +0ms
mocha:cli:run:helpers executing 1 test file(s) across 3 concurrent jobs +0ms
But without --jobs option, it prints NaN.
$ DEBUG=mocha:cli:run:helpers ./bin/mocha --parallel sample.test.js
mocha:cli:run:helpers files (in order): [ '/Users/jeonghoon/Dropbox/projects/github/mocha/tt.js' ] +0ms
mocha:cli:run:helpers executing 1 test file(s) across NaN concurrent jobs +0ms
Steps to Reproduce
Run mocha with --parallel option but, without --jobs option.
Description
In
mocha:cli:run:helpers
debug logs, it will print current concurrent jobs like below:But without
--jobs
option, it printsNaN
.Steps to Reproduce
Run mocha with
--parallel
option but, without--jobs
option.Expected behavior: [What you expect to happen]
Print current concurrent job count instead
NaN
.Versions
mocha --version
andnode node_modules/.bin/mocha --version
: 8.1.1node --version
: v12.18.1The text was updated successfully, but these errors were encountered: