summaryrefslogtreecommitdiff
path: root/tests.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests.ts')
-rw-r--r--tests.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests.ts b/tests.ts
index f1412e152..22bf77a6c 100644
--- a/tests.ts
+++ b/tests.ts
@@ -90,7 +90,7 @@ test(function tests_console_stringify_circular() {
arrowFunc: () => {},
extendedClass: new Extended(),
nFunc: new Function(),
- extendedCstr: Extended,
+ extendedCstr: Extended
};
const circularObj = {
@@ -103,7 +103,7 @@ test(function tests_console_stringify_circular() {
nested: nestedObj,
emptyObj: {},
arr: [1, "s", false, null, nestedObj],
- baseClass: new Base(),
+ baseClass: new Base()
};
nestedObj.o = circularObj;
@@ -121,8 +121,6 @@ test(function tests_console_stringify_circular() {
console.log(JSON);
console.log(console);
} catch {
- throw new Error(
- "Expected no crash on circular object"
- );
+ throw new Error("Expected no crash on circular object");
}
});