test(nodes): type wrapped prepare coverage mock

This commit is contained in:
Ayaan Zaidi 2026-03-07 16:38:36 +05:30 committed by Ayaan Zaidi
parent 9d99370027
commit ac63f30cd2
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const gatewayMocks = vi.hoisted(() => ({
const nodeUtilsMocks = vi.hoisted(() => ({
resolveNodeId: vi.fn(async () => "node-1"),
listNodes: vi.fn(async () => []),
listNodes: vi.fn(async () => [] as Array<{ nodeId: string; commands?: string[] }>),
resolveNodeIdFromList: vi.fn(() => "node-1"),
}));