mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 00:14:34 +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(() => ({
|
const nodeUtilsMocks = vi.hoisted(() => ({
|
||||||
resolveNodeId: vi.fn(async () => "node-1"),
|
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"),
|
resolveNodeIdFromList: vi.fn(() => "node-1"),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user