Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the number of concurrent job with --parallel option in mocha:cli:run:helpers #4416

Merged
merged 3 commits into from
Oct 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/cli/run-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ const singleRun = async (mocha, {exit}, fileCollectParams) => {
*/
const parallelRun = async (mocha, options, fileCollectParams) => {
const files = collectFiles(fileCollectParams);
debug(
'executing %d test file(s) across %d concurrent jobs',
files.length,
options.jobs
);
debug('executing %d test file(s) in parallel mode', files.length);
mocha.files = files;

// note that we DO NOT load any files here; this is handled by the worker
Expand Down