From f8953d94bd2c84bea3e2ff8da023096e49318a1e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 01:01:32 +0100 Subject: [PATCH] test: dedupe nodes tool mock read --- src/agents/tools/nodes-tool.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/tools/nodes-tool.test.ts b/src/agents/tools/nodes-tool.test.ts index 03f09ead433..31295c190e3 100644 --- a/src/agents/tools/nodes-tool.test.ts +++ b/src/agents/tools/nodes-tool.test.ts @@ -152,7 +152,7 @@ describe("createNodesTool screen_record duration guardrails", () => { }); expect(gatewayMocks.callGatewayTool).toHaveBeenCalledTimes(1); - const call = gatewayMocks.callGatewayTool.mock.calls.at(0) as + const call = gatewayMocks.callGatewayTool.mock.calls[0] as | [string, unknown, { params?: { durationMs?: unknown } }] | undefined; if (!call) {