From dc2a0f5b8a5d71d2959e2ca296a637ddcf015aa4 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 9 Apr 2026 00:59:57 +0100 Subject: [PATCH] test: keep undefined-token auth-choice coverage generic --- src/commands/auth-choice.test.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/commands/auth-choice.test.ts b/src/commands/auth-choice.test.ts index b24373d4893..d2ea7314d03 100644 --- a/src/commands/auth-choice.test.ts +++ b/src/commands/auth-choice.test.ts @@ -1628,16 +1628,10 @@ describe("applyAuthChoice", () => { it("does not persist literal 'undefined' when API key prompts return undefined", async () => { const scenarios = [ { - authChoice: "apiKey" as const, - envKey: "ANTHROPIC_API_KEY", - profileId: "anthropic:default", - provider: "anthropic", - }, - { - authChoice: "openrouter-api-key" as const, - envKey: "OPENROUTER_API_KEY", - profileId: "openrouter:default", - provider: "openrouter", + authChoice: "synthetic-api-key" as const, + envKey: "SYNTHETIC_API_KEY", + profileId: "synthetic:default", + provider: "synthetic", }, ];