test: type model auth label env mock · openclaw/openclaw@0d702f3
shakkernerd
·
2026-04-30
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,7 @@ const mocks = vi.hoisted(() => ({
|
6 | 6 | resolveAuthProfileOrder: vi.fn(), |
7 | 7 | resolveAuthProfileDisplayLabel: vi.fn(), |
8 | 8 | resolveUsableCustomProviderApiKey: vi.fn(() => null), |
9 | | -resolveEnvApiKey: vi.fn(() => null), |
| 9 | +resolveEnvApiKey: vi.fn<() => { apiKey: string; source: string } | null>(() => null), |
10 | 10 | readCodexCliCredentialsCached: vi.fn<() => unknown>(() => null), |
11 | 11 | })); |
12 | 12 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。