mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-18 12:08:52 +00:00
test: guard nodes basic mock calls
This commit is contained in:
@@ -140,7 +140,7 @@ describe("cli program (nodes basics)", () => {
|
||||
|
||||
expectGatewayRequest("node.pair.list", {});
|
||||
expectGatewayRequest("node.list", {});
|
||||
const json = runtime.writeJson.mock.calls[0]?.[0] as {
|
||||
const json = runtime.writeJson.mock.calls.at(0)?.[0] as {
|
||||
pending?: unknown[];
|
||||
paired?: Array<Record<string, unknown>>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user