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(""); }); });