mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
test(nodes): type wrapped prepare coverage mock
This commit is contained in:
@@ -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"),
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user