From b9cdf088e7444b3fbad9ac02425425bb4f40355c Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 4 Oct 2018 02:01:21 -0700 Subject: format --- js/testing/testing.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'js/testing') diff --git a/js/testing/testing.ts b/js/testing/testing.ts index 64ecbb6bc..ee2ab1456 100644 --- a/js/testing/testing.ts +++ b/js/testing/testing.ts @@ -57,12 +57,11 @@ const FG_RED = "\x1b[31m"; const FG_GREEN = "\x1b[32m"; function red_failed() { - return FG_RED + "FAILED" + RESET + return FG_RED + "FAILED" + RESET; } - function green_ok() { - return FG_GREEN + "ok" + RESET + return FG_GREEN + "ok" + RESET; } async function runTests() { @@ -96,8 +95,8 @@ async function runTests() { const result = failed > 0 ? red_failed() : green_ok(); console.log( `\ntest result: ${result}. ${passed} passed; ${failed} failed; ` + - `${ignored} ignored; ${measured} measured; ${filtered} filtered out\n`); - + `${ignored} ignored; ${measured} measured; ${filtered} filtered out\n` + ); if (failed === 0) { // All good. -- cgit v1.2.3