summaryrefslogtreecommitdiff
path: root/cli/tests/integration/worker_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-08-02 03:19:44 +0200
committerGitHub <noreply@github.com>2023-08-02 01:19:44 +0000
commit9d1c32945cf08f3148df006ba1cbfa5f213cffac (patch)
tree635aea0e1e2f380305b5915a310ac76faf3285dc /cli/tests/integration/worker_tests.rs
parent1cefa831fd74b14121494045a347024502d74e34 (diff)
fix: regression in workers using dynamic imports (#20006)
Closes https://github.com/denoland/deno/issues/19903
Diffstat (limited to 'cli/tests/integration/worker_tests.rs')
-rw-r--r--cli/tests/integration/worker_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/worker_tests.rs b/cli/tests/integration/worker_tests.rs
index 916e8c887..aa6d64d2b 100644
--- a/cli/tests/integration/worker_tests.rs
+++ b/cli/tests/integration/worker_tests.rs
@@ -108,3 +108,10 @@ itest!(worker_error_event {
output: "workers/error_event.ts.out",
exit_code: 1,
});
+
+// Regression test for https://github.com/denoland/deno/issues/19903
+itest!(worker_doest_stall_event_loop {
+ args: "run --quiet -A workers/worker_doest_stall_event_loop.ts",
+ output: "workers/worker_doest_stall_event_loop.ts.out",
+ exit_code: 0,
+});