Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
fix: use bg color for log type
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 20, 2021
1 parent 874c40a commit bf4e71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/peeky-runner/src/reporters/console-fancy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Reporter } from '../types.js'
export function createConsoleFancyReporter (): Reporter {
return {
log: ({ type, text, suite, test }) => {
consola.log(chalk.dim(`\n[${type}] ${test ? `${suite.title}${chalk.bold(test.title)}` : 'unknown test'}\n`))
consola.log(chalk.dim(`\n${chalk.bgGray.white(` ${type} `)} ${test ? `${suite.title}${chalk.bold(test.title)}` : 'unknown test'}\n`))
process[type].write(text)
process[type].write('\n')
},
Expand Down

0 comments on commit bf4e71c

Please sign in to comment.