FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test(format): remove formatter check sleeps (#27407) · develop7/opencode@8e35358 · GitHub

Commit 8e35358

Browse files
authored
test(format): remove formatter check sleeps (anomalyco#27407)
1 parent 5c35ea2 commit 8e35358

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/opencode/test/format/format.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ describe("Format", () => {
186186
Formatter.gofmt.enabled = async () => {
187187
active++
188188
max = Math.max(max, active)
189-
await Bun.sleep(20)
189+
await Promise.resolve()
190190
active--
191191
return ["sh", "-c", "true"]
192192
}
193193
Formatter.mix.enabled = async () => {
194194
active++
195195
max = Math.max(max, active)
196-
await Bun.sleep(20)
196+
await Promise.resolve()
197197
active--
198198
return ["sh", "-c", "true"]
199199
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL