mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 01:52:55 +00:00
test(format): remove formatter check sleeps (#27407)
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user