From cbc620be377d25024f5dcf1512c8fa08f2c302d9 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 21:52:31 +0100 Subject: [PATCH] test: cover channels status timeout request --- src/commands/channels.status.command-flow.test.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/commands/channels.status.command-flow.test.ts b/src/commands/channels.status.command-flow.test.ts index 1012f7ffc3c..8e2a28c9e38 100644 --- a/src/commands/channels.status.command-flow.test.ts +++ b/src/commands/channels.status.command-flow.test.ts @@ -220,12 +220,11 @@ describe("channelsStatusCommand SecretRef fallback flow", () => { await channelsStatusCommand({ channel: "imsg", json: true, probe: true }, runtime as never); - expect(mocks.callGateway).toHaveBeenCalledWith( - expect.objectContaining({ - method: "channels.status", - params: { channel: "imsg", probe: true, timeoutMs: 30000 }, - }), - ); + expect(mocks.callGateway).toHaveBeenCalledWith({ + method: "channels.status", + params: { channel: "imsg", probe: true, timeoutMs: 30000 }, + timeoutMs: 30000, + }); }); it("keeps read-only fallback output when SecretRefs are unresolved", async () => {