From 9600646449efd9e334bf6d48cc0bb11fce391e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Cuevas?= Date: Tue, 12 May 2026 06:00:36 +0000 Subject: [PATCH] test(onboard): type model check auth mocks --- src/commands/auth-choice.model-check.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/auth-choice.model-check.test.ts b/src/commands/auth-choice.model-check.test.ts index d6eba6ede8a5..58d20fcb55e1 100644 --- a/src/commands/auth-choice.model-check.test.ts +++ b/src/commands/auth-choice.model-check.test.ts @@ -10,7 +10,9 @@ vi.mock("../agents/model-catalog.js", () => ({ })); const ensureAuthProfileStore = vi.hoisted(() => vi.fn(() => ({ version: 1, profiles: {} }))); -const listProfilesForProvider = vi.hoisted(() => vi.fn(() => [])); +const listProfilesForProvider = vi.hoisted(() => + vi.fn<(store: AuthProfileStore, provider: string) => string[]>(() => []), +); vi.mock("../agents/auth-profiles.js", () => ({ ensureAuthProfileStore, listProfilesForProvider,