mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-21 21:56:46 +00:00
test: dedupe nodes tool mock read
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user