mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
test(openai): type image auth readiness mock
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user