Dax Raad пре 3 месеци
родитељ
комит
3c2803fd9a
1 измењених фајлова са 1 додато и 1 уклоњено
  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()
       },
       },
     })
     })