mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 03:45:46 -06:00
test(onboard): type model check auth mocks
This commit is contained in:
committed by
Ayaan Zaidi
parent
379ba2e8ae
commit
9600646449
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user