diff options
Diffstat (limited to 'tests/testdata/run/unhandled_rejection_sync_error.ts')
-rw-r--r-- | tests/testdata/run/unhandled_rejection_sync_error.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testdata/run/unhandled_rejection_sync_error.ts b/tests/testdata/run/unhandled_rejection_sync_error.ts deleted file mode 100644 index 0dabb1cb7..000000000 --- a/tests/testdata/run/unhandled_rejection_sync_error.ts +++ /dev/null @@ -1,6 +0,0 @@ -globalThis.addEventListener("unhandledrejection", (e) => { - console.log("unhandled rejection at:", e.promise, "reason:", e.reason); - e.preventDefault(); -}); - -throw new Error("boom!"); |