summaryrefslogtreecommitdiff
path: root/tests/integration/worker_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/worker_tests.rs')
-rw-r--r--tests/integration/worker_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/worker_tests.rs b/tests/integration/worker_tests.rs
index 7b1bddead..492a06e36 100644
--- a/tests/integration/worker_tests.rs
+++ b/tests/integration/worker_tests.rs
@@ -111,3 +111,10 @@ itest!(worker_doest_stall_event_loop {
output: "workers/worker_doest_stall_event_loop.ts.out",
exit_code: 0,
});
+
+// Test for https://github.com/denoland/deno/issues/22629
+itest!(node_worker_auto_exits {
+ args: "run --quiet --allow-read workers/node_worker_auto_exits.mjs",
+ output: "workers/node_worker_auto_exits.mjs.out",
+ exit_code: 0,
+});