diff options
Diffstat (limited to 'js/console_test.ts')
-rw-r--r-- | js/console_test.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/js/console_test.ts b/js/console_test.ts index f84dc247a..f1a8ca664 100644 --- a/js/console_test.ts +++ b/js/console_test.ts @@ -245,8 +245,11 @@ test(function consoleTestError() { try { throw new MyError("This is an error"); } catch (e) { - assert(stringify(e).split("\n")[3] - .includes("MyError: This is an error")); + assert( + stringify(e) + .split("\n")[3] + .includes("MyError: This is an error") + ); } }); |