From 2c0c2500e98e3b8aabe3276bbb9a0ebc3c029742 Mon Sep 17 00:00:00 2001 From: KobeNguyenT <7845001+kobenguyent@users.noreply.github.com> Date: Sun, 21 May 2023 07:24:20 +0200 Subject: [PATCH] feat(dryRun): count no of tests of each suite (#3620) --- 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) {