Skip to content

Commit 6e25720

Browse files
authored
test(tool): use Effect sleep in edit concurrency test (anomalyco#27349)
1 parent ca723f1 commit 6e25720

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/test/tool/edit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ describe("tool.edit", () => {
500500
asks++
501501
if (asks !== 1) return
502502
yield* Deferred.succeed(firstAsk, undefined)
503-
yield* Effect.promise(() => Bun.sleep(50))
503+
yield* Effect.sleep("50 millis")
504504
}),
505505
}
506506

0 commit comments

Comments
 (0)