summaryrefslogtreecommitdiff
path: root/tests/integration/worker_tests.rs
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-03-13 22:52:25 +0530
committerGitHub <noreply@github.com>2024-03-13 17:22:25 +0000
commit0fd8f549e2194223eca2d4b17f4e96cd5a0f5fd5 (patch)
tree76181b2a5f2991134f7343cfc6d4b8b755dbc333 /tests/integration/worker_tests.rs
parentb3ca3b2f25931afb350027bde87dc3d4f9a741b0 (diff)
fix(ext/node): allow automatic worker_thread termination (#22647)
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
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,
+});