Remove new lines
parent
28a0dad16a
commit
d695b88332
|
@ -6,11 +6,9 @@ const totalreporter = () => {
|
|||
return {
|
||||
success: (test) => { totalSuccess++ },
|
||||
fail: (test, e) => { totalFail++ },
|
||||
msg: () => `
|
||||
${chalk.redBright(`Total fail: ${totalFail}`)}
|
||||
msg: () => `${chalk.redBright(`Total fail: ${totalFail}`)}
|
||||
${chalk.greenBright(`Total sucess: ${totalSuccess}`)}
|
||||
${chalk.yellowBright(`Ratio ${(totalSuccess / (totalSuccess + totalFail)) * 100}%`)}
|
||||
`
|
||||
${chalk.yellowBright(`Ratio ${(totalSuccess / (totalSuccess + totalFail) * 100).toFixed(0)}%`)}`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue