mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-25 03:34:22 +01:00
flaky test
This commit is contained in:
@@ -62,7 +62,7 @@ describe("tool.patch", () => {
|
||||
*** End Patch`
|
||||
patchTool.execute({ patchText: maliciousPatch }, ctx)
|
||||
// TODO: this sucks
|
||||
await new Promise((resolve) => setTimeout(resolve, 100))
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000))
|
||||
expect(Permission.pending()[ctx.sessionID]).toBeDefined()
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user