From 2f2fcd0a2e939f817822cdd28bfa8bf5f7df8c33 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 8 Mar 2024 04:30:49 -0800 Subject: [PATCH] sad workaround --- test/js/bun/spawn/spawn.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/js/bun/spawn/spawn.test.ts b/test/js/bun/spawn/spawn.test.ts index 90f8b23bca..eb96f44b34 100644 --- a/test/js/bun/spawn/spawn.test.ts +++ b/test/js/bun/spawn/spawn.test.ts @@ -552,8 +552,10 @@ describe("spawn unref and kill should not hang", () => { }); proc.kill(); - proc.unref(); + if (!isWindows) proc.unref(); + await proc.exited; + console.count("Finished"); } expect().pass();