From 89f0b796bd442ff352c3f93f69156ca6d85bfd5e Mon Sep 17 00:00:00 2001 From: Mohammad Sulaiman Date: Tue, 5 Nov 2024 08:39:05 +0200 Subject: chore: deprecate run itests (#26444) --- tests/testdata/run/unhandled_rejection_dynamic_import/import.ts | 5 ----- tests/testdata/run/unhandled_rejection_dynamic_import/main.ts | 1 - tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out | 3 --- 3 files changed, 9 deletions(-) delete mode 100644 tests/testdata/run/unhandled_rejection_dynamic_import/import.ts delete mode 100644 tests/testdata/run/unhandled_rejection_dynamic_import/main.ts delete mode 100644 tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out (limited to 'tests/testdata/run/unhandled_rejection_dynamic_import') diff --git a/tests/testdata/run/unhandled_rejection_dynamic_import/import.ts b/tests/testdata/run/unhandled_rejection_dynamic_import/import.ts deleted file mode 100644 index b490f2c20..000000000 --- a/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/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts b/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts deleted file mode 100644 index 244d84467..000000000 --- a/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts +++ /dev/null @@ -1 +0,0 @@ -await import("./import.ts"); diff --git a/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out b/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out deleted file mode 100644 index f44c6d2ff..000000000 --- a/tests/testdata/run/unhandled_rejection_dynamic_import/main.ts.out +++ /dev/null @@ -1,3 +0,0 @@ ---- -hey -error: Uncaught (in promise) undefined -- cgit v1.2.3