test: clarify channels status error assertion

This commit is contained in:
Peter Steinberger
2026-05-08 09:59:22 +01:00
parent 8fa6f9a28b
commit d42ae2536e

View File

@@ -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",