test(format): remove formatter check sleeps (#27407)

This commit is contained in:
Kit Langton 2026-05-13 21:02:34 -04:00 committed by GitHub
parent 5c35ea2181
commit 8e353584c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]
}