test: cover channels status timeout request

This commit is contained in:
Shakker
2026-05-11 21:52:31 +01:00
parent d18e5247fe
commit cbc620be37

View File

@@ -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 () => {