Skip to content

Commit

Permalink
Improve output
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jul 26, 2023
1 parent 9d7525b commit 425f8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 425f8fc

Please sign in to comment.