diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-10-04 02:01:21 -0700 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-10-04 02:03:29 -0700 |
commit | b9cdf088e7444b3fbad9ac02425425bb4f40355c (patch) | |
tree | b2295f0aa05539689eee743ab0920e8dc53f9e68 /js | |
parent | 8ca082c50898c62863e4baf04387bd37ce8328f8 (diff) |
format
Diffstat (limited to 'js')
-rw-r--r-- | js/testing/testing.ts | 9 |
1 files changed, 4 insertions, 5 deletions
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. |