mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-15 03:01:02 +00:00
test: keep native pdf provider tests off runtime hooks
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import * as pdfNativeProviders from "./pdf-native-providers.js";
|
||||
|
||||
vi.mock("../../plugins/provider-runtime.js", () => ({
|
||||
normalizeProviderTransportWithPlugin: (params: { context?: { baseUrl?: string } }) =>
|
||||
params.context?.baseUrl ? { baseUrl: params.context.baseUrl } : undefined,
|
||||
}));
|
||||
|
||||
const TEST_PDF_INPUT = { base64: "dGVzdA==", filename: "doc.pdf" } as const;
|
||||
|
||||
function makeAnthropicAnalyzeParams(
|
||||
|
||||
Reference in New Issue
Block a user