The total is now in oneline

master
Frédéric Matte 2022-12-30 13:54:11 -05:00
parent c91f4a466b
commit 07f0e2a084
1 changed files with 1 additions and 4 deletions

View File

@ -9,10 +9,7 @@ const totalreporter = () => {
success: (test) => { success++ }, success: (test) => { success++ },
fail: (test, e) => { fail++ }, fail: (test, e) => { fail++ },
skip: (test) => { skip++ }, skip: (test) => { skip++ },
msg: () => `${chalk.redBright(`Fail: ${fail}`)} msg: () => `${chalk.redBright(`Fail: ${fail}`)} - ${chalk.greenBright(`Sucess: ${success}`)} - ${chalk.blueBright(`Skip: ${skip}`)} - ${chalk.yellowBright(`Ratio: ${percentage(success, success + fail)}%`)}`
${chalk.greenBright(`Sucess: ${success}`)}
${chalk.blueBright(`Skip: ${skip}`)}
${chalk.yellowBright(`Ratio: ${percentage(success, success + fail)}%`)}`
} }
} }