opencode-agent[bot] před 2 týdny
rodič
revize
8daeacc989
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      packages/opencode/test/tool/tool-define.test.ts

+ 4 - 1
packages/opencode/test/tool/tool-define.test.ts

@@ -34,7 +34,10 @@ describe("Tool.define", () => {
   test("object-defined tool does not accumulate wrapper layers across init() calls", async () => {
   test("object-defined tool does not accumulate wrapper layers across init() calls", async () => {
     let executeCalls = 0
     let executeCalls = 0
 
 
-    const tool = Tool.define("test-tool", makeTool("test", () => executeCalls++))
+    const tool = Tool.define(
+      "test-tool",
+      makeTool("test", () => executeCalls++),
+    )
 
 
     // Call init() many times to simulate many agentic steps
     // Call init() many times to simulate many agentic steps
     for (let i = 0; i < 100; i++) {
     for (let i = 0; i < 100; i++) {