summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/unhandled_rejection_dynamic_import
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/unhandled_rejection_dynamic_import')
-rw-r--r--cli/tests/testdata/run/unhandled_rejection_dynamic_import/import.ts5
-rw-r--r--cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts1
-rw-r--r--cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out3
3 files changed, 0 insertions, 9 deletions
diff --git a/cli/tests/testdata/run/unhandled_rejection_dynamic_import/import.ts b/cli/tests/testdata/run/unhandled_rejection_dynamic_import/import.ts
deleted file mode 100644
index b490f2c20..000000000
--- a/cli/tests/testdata/run/unhandled_rejection_dynamic_import/import.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-globalThis.addEventListener("unhandledrejection", () => {
- console.log("hey");
-});
-console.log("---");
-Promise.reject();
diff --git a/cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts b/cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts
deleted file mode 100644
index 244d84467..000000000
--- a/cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts
+++ /dev/null
@@ -1 +0,0 @@
-await import("./import.ts");
diff --git a/cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out b/cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out
deleted file mode 100644
index f44c6d2ff..000000000
--- a/cli/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out
+++ /dev/null
@@ -1,3 +0,0 @@
----
-hey
-error: Uncaught (in promise) undefined