summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-02-18 22:36:02 +0000
committerGitHub <noreply@github.com>2021-02-19 09:36:02 +1100
commit555595e6d02d1fc1adb535df074d258389fab509 (patch)
tree73257523ea5f5ac44293b6820d72e8dae038b7b5 /cli/tests/integration_tests.rs
parentbb30e9291e2e3964aac2d2ca05b739dcc67d64a0 (diff)
fix(core): Make dynamic import async errors catchable (#9505)
Fixes #6259
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index b55111154..47acdc9ee 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2779,6 +2779,11 @@ console.log("finish");
output: "084_worker_custom_inspect.ts.out",
});
+ itest!(_085_dynamic_import_async_error {
+ args: "run --allow-read 085_dynamic_import_async_error.ts",
+ output: "085_dynamic_import_async_error.ts.out",
+ });
+
itest!(js_import_detect {
args: "run --quiet --reload js_import_detect.ts",
output: "js_import_detect.ts.out",