Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix: remove job count from parallel mode debug log (#4416)

Sujin Park31116dbf8254
diff --git a/lib/cli/run-helpers.js b/lib/cli/run-helpers.js
index 6856a5a7..dfac8b44 100644
--- a/lib/cli/run-helpers.js
+++ b/lib/cli/run-helpers.js
@@ -141,11 +141,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