test(format): remove formatter check sleeps (#27407)
This commit is contained in:
@@ -186,14 +186,14 @@ describe("Format", () => {
|
|||||||
Formatter.gofmt.enabled = async () => {
|
Formatter.gofmt.enabled = async () => {
|
||||||
active++
|
active++
|
||||||
max = Math.max(max, active)
|
max = Math.max(max, active)
|
||||||
await Bun.sleep(20)
|
await Promise.resolve()
|
||||||
active--
|
active--
|
||||||
return ["sh", "-c", "true"]
|
return ["sh", "-c", "true"]
|
||||||
}
|
}
|
||||||
Formatter.mix.enabled = async () => {
|
Formatter.mix.enabled = async () => {
|
||||||
active++
|
active++
|
||||||
max = Math.max(max, active)
|
max = Math.max(max, active)
|
||||||
await Bun.sleep(20)
|
await Promise.resolve()
|
||||||
active--
|
active--
|
||||||
return ["sh", "-c", "true"]
|
return ["sh", "-c", "true"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user