Browse Source

flaky test

Dax Raad 4 months ago
parent
commit
3c2803fd9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/test/tool/patch.test.ts

+ 1 - 1
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()
       },
     })