test(tools): mirror auth profile discovery in image tests

This commit is contained in:
Ayaan Zaidi
2026-05-01 07:36:09 +05:30
parent 45b8645079
commit 22d6e9564a

View File

@@ -93,6 +93,7 @@ vi.mock("../pi-tools.abort.js", () => ({
}));
vi.mock("../auth-profiles.js", () => ({
externalCliDiscoveryForProviderAuth: () => undefined,
ensureAuthProfileStore: (agentDir?: string) => {
if (!agentDir) {
return { version: 1, profiles: {} };