mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 15:44:56 +00:00
test(tool): use Effect sleep in edit concurrency test (#27349)
This commit is contained in:
@@ -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")
|
||||
}),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user