diff --git a/packages/opencode/test/format/format.test.ts b/packages/opencode/test/format/format.test.ts index 674d2767cd..c9e57d204e 100644 --- a/packages/opencode/test/format/format.test.ts +++ b/packages/opencode/test/format/format.test.ts @@ -186,14 +186,14 @@ describe("Format", () => { Formatter.gofmt.enabled = async () => { active++ max = Math.max(max, active) - await Bun.sleep(20) + await Promise.resolve() active-- return ["sh", "-c", "true"] } Formatter.mix.enabled = async () => { active++ max = Math.max(max, active) - await Bun.sleep(20) + await Promise.resolve() active-- return ["sh", "-c", "true"] }