From 04bdeefb9280488eb0b7496e24cb987679aacf62 Mon Sep 17 00:00:00 2001 From: KobeNguyenT <7845001+kobenguyent@users.noreply.github.com> Date: Fri, 17 Mar 2023 16:26:11 +0100 Subject: [PATCH] feat(dryRun): count no of tests of each suite --- lib/command/dryRun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/command/dryRun.js b/lib/command/dryRun.js index b906a2bc6..db2a077c3 100644 --- a/lib/command/dryRun.js +++ b/lib/command/dryRun.js @@ -59,7 +59,7 @@ function printTests(files) { let numOfSuites = 0; for (const suite of mocha.suite.suites) { - output.print(`${colors.white.bold(suite.title)} -- ${output.styles.log(suite.file || '')}`); + output.print(`${colors.white.bold(suite.title)} -- ${output.styles.log(suite.file || '')} -- ${suite.tests.length} tests`); numOfSuites++; for (const test of suite.tests) {