Remove new lines
parent
28a0dad16a
commit
d695b88332
|
@ -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)}%`)}`
|
||||||
`
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue