Skip to content

Commit 8daeacc

Browse files
chore: generate
1 parent 81d3ac3 commit 8daeacc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/opencode/test/tool/tool-define.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ describe("Tool.define", () => {
3434
test("object-defined tool does not accumulate wrapper layers across init() calls", async () => {
3535
let executeCalls = 0
3636

37-
const tool = Tool.define("test-tool", makeTool("test", () => executeCalls++))
37+
const tool = Tool.define(
38+
"test-tool",
39+
makeTool("test", () => executeCalls++),
40+
)
3841

3942
// Call init() many times to simulate many agentic steps
4043
for (let i = 0; i < 100; i++) {

0 commit comments

Comments
 (0)