mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 12:42:17 +00:00
test(tool): use Effect sleep in edit concurrency test (#27349)
This commit is contained in:
parent
ca723f1cbc
commit
6e25720307
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ describe("tool.edit", () => {
|
|||
asks++
|
||||
if (asks !== 1) return
|
||||
yield* Deferred.succeed(firstAsk, undefined)
|
||||
yield* Effect.promise(() => Bun.sleep(50))
|
||||
yield* Effect.sleep("50 millis")
|
||||
}),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue