test: dedupe nodes tool mock read

This commit is contained in:
Peter Steinberger
2026-05-13 01:01:32 +01:00
parent b8c0edf91c
commit f8953d94bd

View File

@@ -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) {