Skip to content

Commit

Permalink
Merge pull request #222 from RemiBardon/no-red-for-upstream-arrow
Browse files Browse the repository at this point in the history
Avoid red and green for transferred data arrows
  • Loading branch information
mishushakov authored Jun 5, 2024
2 parents bec3e4f + 50a0d32 commit 85766bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ renderAnalyticsMessage()

const ee = new EventEmitter()
ee.on('test:result', (test: TestResult) => {
console.log(`${(test.passed ? chalk.bgGreenBright(' PASS ') : chalk.bgRedBright(' FAIL '))} ${chalk.bold(test.name || test.id)}${test.duration / 1000 + 's'} ${chalk.red('⬆')} ${test.bytesSent} bytes ${chalk.green('⬇')} ${test.bytesReceived} bytes`)
console.log(`${(test.passed ? chalk.bgGreenBright(' PASS ') : chalk.bgRedBright(' FAIL '))} ${chalk.bold(test.name || test.id)}${test.duration / 1000 + 's'} ${chalk.magenta('⬆')} ${test.bytesSent} bytes ${chalk.cyan('⬇')} ${test.bytesReceived} bytes`)
if (!test.passed || verbose) {
renderStepSummary(test.steps)
test.steps.forEach(step => renderStep(step, { verbose }))
Expand Down

0 comments on commit 85766bc

Please sign in to comment.