From 425f8fc98a08fa342cec775920497bdf54baea0d Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Wed, 26 Jul 2023 10:05:30 +0200 Subject: [PATCH] Improve output --- lib/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index 2e52100..5a0b5ff 100644 --- a/lib/main.js +++ b/lib/main.js @@ -71,7 +71,7 @@ export default async function * customReporter (source) { yield ''.padEnd((data.nesting + 1) * 2); if (type === 'test:pass') { - const successMsg = `${format.logSymbols.success} passed ${data.name}`; + const successMsg = `${format.logSymbols.success} ${data.name}`; yield format.chalk ? format.chalk.gray(successMsg) @@ -83,7 +83,7 @@ export default async function * customReporter (source) { }); const failureIndexHumanized = failures.length; - const failMsg = `${failureIndexHumanized}) failed ${data.name}`; + const failMsg = `${failureIndexHumanized}) ${data.name}`; yield format.chalk ? format.chalk.red(failMsg)