test(auth): update auth profile coverage

This commit is contained in:
Peter Steinberger
2026-01-26 19:04:42 +00:00
parent 526303d9a2
commit aa2a1a17e3
14 changed files with 121 additions and 849 deletions

View File

@@ -101,7 +101,7 @@ describe("runWithModelFallback", () => {
const cfg = makeCfg();
const run = vi
.fn()
.mockRejectedValueOnce(new Error('No credentials found for profile "anthropic:claude-cli".'))
.mockRejectedValueOnce(new Error('No credentials found for profile "anthropic:default".'))
.mockResolvedValueOnce("ok");
const result = await runWithModelFallback({