Remove new lines

master
Frédéric Matte 2022-12-04 16:04:31 -05:00
parent 28a0dad16a
commit d695b88332
1 changed files with 2 additions and 4 deletions

View File

@ -6,11 +6,9 @@ const totalreporter = () => {
return { return {
success: (test) => { totalSuccess++ }, success: (test) => { totalSuccess++ },
fail: (test, e) => { totalFail++ }, fail: (test, e) => { totalFail++ },
msg: () => ` msg: () => `${chalk.redBright(`Total fail: ${totalFail}`)}
${chalk.redBright(`Total fail: ${totalFail}`)}
${chalk.greenBright(`Total sucess: ${totalSuccess}`)} ${chalk.greenBright(`Total sucess: ${totalSuccess}`)}
${chalk.yellowBright(`Ratio ${(totalSuccess / (totalSuccess + totalFail)) * 100}%`)} ${chalk.yellowBright(`Ratio ${(totalSuccess / (totalSuccess + totalFail) * 100).toFixed(0)}%`)}`
`
} }
} }