Skip to content

Commit ac63f30

Browse files
committed
test(nodes): type wrapped prepare coverage mock
1 parent 9d99370 commit ac63f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/tools/nodes-tool.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const gatewayMocks = vi.hoisted(() => ({
77

88
const nodeUtilsMocks = vi.hoisted(() => ({
99
resolveNodeId: vi.fn(async () => "node-1"),
10-
listNodes: vi.fn(async () => []),
10+
listNodes: vi.fn(async () => [] as Array<{ nodeId: string; commands?: string[] }>),
1111
resolveNodeIdFromList: vi.fn(() => "node-1"),
1212
}));
1313

0 commit comments

Comments
 (0)