From 9d0669cfa35674bbae2cd3c24cde83cc828d08e4 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 19:39:42 +0100 Subject: [PATCH] test: verify gateway auth diagnostics --- src/commands/gateway-status/helpers.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/gateway-status/helpers.test.ts b/src/commands/gateway-status/helpers.test.ts index 92cb30e64b3..d13b08fb65c 100644 --- a/src/commands/gateway-status/helpers.test.ts +++ b/src/commands/gateway-status/helpers.test.ts @@ -217,10 +217,9 @@ describe("resolveAuthForTarget", () => { {}, ); - expect(auth.diagnostics).toContain( + expect(auth.diagnostics).toStrictEqual([ "gateway.auth.token SecretRef is unresolved (env:default:MISSING_GATEWAY_TOKEN).", - ); - expect(auth.diagnostics?.join("\n")).not.toContain("missing or empty"); + ]); }, ); });