Skip to content

The open source coding agent.

TypeScript

flaky test

Dax Raad3c2803fd9ac3
diff --git a/packages/opencode/test/tool/patch.test.ts b/packages/opencode/test/tool/patch.test.ts
index 141759db161..bf3c02e07f2 100644
--- a/packages/opencode/test/tool/patch.test.ts
+++ b/packages/opencode/test/tool/patch.test.ts
@@ -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()
},
})