From 07f0e2a084e8a1de762706bfb11d06f6257d0949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Matte?= Date: Fri, 30 Dec 2022 13:54:11 -0500 Subject: [PATCH] The total is now in oneline --- reporter/totalreporter.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reporter/totalreporter.js b/reporter/totalreporter.js index 88277de..f3085d8 100644 --- a/reporter/totalreporter.js +++ b/reporter/totalreporter.js @@ -9,10 +9,7 @@ const totalreporter = () => { success: (test) => { success++ }, fail: (test, e) => { fail++ }, skip: (test) => { skip++ }, - msg: () => `${chalk.redBright(`Fail: ${fail}`)} -${chalk.greenBright(`Sucess: ${success}`)} -${chalk.blueBright(`Skip: ${skip}`)} -${chalk.yellowBright(`Ratio: ${percentage(success, success + fail)}%`)}` + msg: () => `${chalk.redBright(`Fail: ${fail}`)} - ${chalk.greenBright(`Sucess: ${success}`)} - ${chalk.blueBright(`Skip: ${skip}`)} - ${chalk.yellowBright(`Ratio: ${percentage(success, success + fail)}%`)}` } }