mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 13:18:51 +00:00
test(openai): type image auth readiness mock
This commit is contained in:
parent
5867207521
commit
88b3fa14f0
1 changed files with 3 additions and 1 deletions
|
|
@ -9,7 +9,9 @@ const {
|
|||
assertOkOrThrowHttpErrorMock,
|
||||
resolveProviderHttpRequestConfigMock,
|
||||
} = vi.hoisted(() => ({
|
||||
isProviderApiKeyConfiguredMock: vi.fn(() => false),
|
||||
isProviderApiKeyConfiguredMock: vi.fn<
|
||||
(params: { provider: string; agentDir?: string }) => boolean
|
||||
>(() => false),
|
||||
resolveApiKeyForProviderMock: vi.fn(
|
||||
async (_params?: {
|
||||
provider?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue