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(); }); }); });