From d42ae2536e277093746568d3a17d243d40748bfb Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 8 May 2026 09:59:22 +0100 Subject: [PATCH] test: clarify channels status error assertion --- src/commands/channels.status.command-flow.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/channels.status.command-flow.test.ts b/src/commands/channels.status.command-flow.test.ts index ddba5622b56..e5c0512c47d 100644 --- a/src/commands/channels.status.command-flow.test.ts +++ b/src/commands/channels.status.command-flow.test.ts @@ -224,7 +224,9 @@ describe("channelsStatusCommand SecretRef fallback flow", () => { await channelsStatusCommand({ probe: false }, runtime as never); - expect(errors.some((line) => line.includes("Gateway not reachable"))).toBe(true); + expect(errors).toEqual( + expect.arrayContaining([expect.stringContaining("Gateway not reachable")]), + ); expect(mocks.resolveCommandConfigWithSecrets).toHaveBeenCalledWith( expect.objectContaining({ commandName: "channels status",