Dax Raad hace 10 meses
padre
commit
3c2803fd9a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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`
 *** End Patch`
         patchTool.execute({ patchText: maliciousPatch }, ctx)
         patchTool.execute({ patchText: maliciousPatch }, ctx)
         // TODO: this sucks
         // TODO: this sucks
-        await new Promise((resolve) => setTimeout(resolve, 100))
+        await new Promise((resolve) => setTimeout(resolve, 1000))
         expect(Permission.pending()[ctx.sessionID]).toBeDefined()
         expect(Permission.pending()[ctx.sessionID]).toBeDefined()
       },
       },
     })
     })