test: verify gateway auth diagnostics

This commit is contained in:
Shakker
2026-05-11 19:39:42 +01:00
parent 2e5acf12b8
commit 9d0669cfa3

View File

@@ -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");
]);
},
);
});