mirror of https://github.com/openclaw/openclaw.git
test(nodes): type wrapped prepare coverage mock
This commit is contained in:
parent
9d99370027
commit
ac63f30cd2
|
|
@ -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"),
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue