From fe3bd9d65be95367f6d1fcbc0fcfd124a7e7ec75 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 19 Feb 2026 08:26:43 +0000 Subject: [PATCH] test: merge duplicate gateway token coercion checks --- src/commands/onboard-helpers.e2e.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/commands/onboard-helpers.e2e.test.ts b/src/commands/onboard-helpers.e2e.test.ts index f9af2e9599..3f70ccccfc 100644 --- a/src/commands/onboard-helpers.e2e.test.ts +++ b/src/commands/onboard-helpers.e2e.test.ts @@ -128,11 +128,8 @@ describe("normalizeGatewayTokenInput", () => { expect(normalizeGatewayTokenInput(123)).toBe(""); }); - it('rejects the literal string "undefined"', () => { + it('rejects literal string coercion artifacts ("undefined"/"null")', () => { expect(normalizeGatewayTokenInput("undefined")).toBe(""); - }); - - it('rejects the literal string "null"', () => { expect(normalizeGatewayTokenInput("null")).toBe(""); }); });