Skip to content

Commit a978f0f

Browse files
committed
test: guard nodes basic mock calls
1 parent 14042cf commit a978f0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/cli/program.nodes-basic.e2e.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe("cli program (nodes basics)", () => {
140140

141141
expectGatewayRequest("node.pair.list", {});
142142
expectGatewayRequest("node.list", {});
143-
const json = runtime.writeJson.mock.calls[0]?.[0] as {
143+
const json = runtime.writeJson.mock.calls.at(0)?.[0] as {
144144
pending?: unknown[];
145145
paired?: Array<Record<string, unknown>>;
146146
};

0 commit comments

Comments
 (0)