From 0fd8f549e2194223eca2d4b17f4e96cd5a0f5fd5 Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Wed, 13 Mar 2024 22:52:25 +0530 Subject: fix(ext/node): allow automatic worker_thread termination (#22647) Co-authored-by: Matt Mastracci --- tests/integration/worker_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/integration') 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, +}); -- cgit v1.2.3