Skip to content

Commit b453293

Browse files
committed
test: isolate provider provenance aliases
1 parent 83370f0 commit b453293

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/agents/models-config.providers.auth-provenance.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ vi.mock("../plugins/provider-runtime.js", () => ({
55
resolveProviderSyntheticAuthWithPlugin: vi.fn(),
66
}));
77

8+
vi.mock("./provider-auth-aliases.js", () => ({
9+
resolveProviderAuthAliasMap: () => ({}),
10+
resolveProviderIdForAuth: (provider: string) => provider.trim().toLowerCase(),
11+
}));
12+
813
type ProviderRuntimeModule = typeof import("../plugins/provider-runtime.js");
914

1015
let NON_ENV_SECRETREF_MARKER: typeof import("./model-auth-markers.js").NON_ENV_SECRETREF_MARKER;

0 commit comments

Comments
 (0)