From 9b6f4822f074efb473c2e25a30670eb554eb8cd2 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Wed, 4 Jun 2025 15:08:49 -0700 Subject: [PATCH] not async (unrelated to test failure) --- test/js/node/worker_threads/worker_destruction.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/js/node/worker_threads/worker_destruction.test.ts b/test/js/node/worker_threads/worker_destruction.test.ts index 780061786a..5e483a5ba3 100644 --- a/test/js/node/worker_threads/worker_destruction.test.ts +++ b/test/js/node/worker_threads/worker_destruction.test.ts @@ -7,8 +7,8 @@ describe("Worker destruction", () => { const method = ["Bun.connect", "Bun.listen", "fetch"]; describe.each(method)("bun when %s is used in a Worker that is terminating", method => { // fetch: ASAN failure - test.skipIf(isBroken && method == "fetch")("exits cleanly", async () => { - await expect([join(import.meta.dir, "worker_thread_check.ts"), method]).toRunAsync(); + test.skipIf(isBroken && method == "fetch")("exits cleanly", () => { + expect([join(import.meta.dir, "worker_thread_check.ts"), method]).toRun(); }); }); });