From 46894fe1e7d9d7b0a8dd4d3297439b529754ce04 Mon Sep 17 00:00:00 2001 From: Robert Hurst Date: Wed, 13 Nov 2024 06:33:35 +0200 Subject: [PATCH] v0.0.39 changes --- src/runners/nodeRunner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runners/nodeRunner.js b/src/runners/nodeRunner.js index f197591..d76b96c 100644 --- a/src/runners/nodeRunner.js +++ b/src/runners/nodeRunner.js @@ -68,10 +68,10 @@ export async function runTests(testDirectory, returnResults = false, codiConfig } if (state.failedTests > 0) { - console.log(chalk.red('\nSome tests failed.')); + console.log(chalk.red(`\n${state.failedTests} tests failed.`)); process.exit(1); } else { - console.log(chalk.green('\nAll tests passed.')); + console.log(chalk.green(`\n${state.passedTests} tests passed.`)); process.exit(0); } }