not async (unrelated to test failure)

This commit is contained in:
Alistair Smith
2025-06-04 15:08:49 -07:00
parent 49d1090dbb
commit 9b6f4822f0

View File

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