mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
test: stabilize full test suite
This commit is contained in:
@@ -26,6 +26,12 @@ vi.mock("../../plugins/plugin-registry.js", () => ({
|
||||
}),
|
||||
}));
|
||||
|
||||
vi.mock("../../plugins/current-plugin-metadata-snapshot.js", () => ({
|
||||
getCurrentPluginMetadataSnapshot: () => ({
|
||||
plugins: pdfMetadataPlugins,
|
||||
}),
|
||||
}));
|
||||
|
||||
import {
|
||||
coercePdfAssistantText,
|
||||
coercePdfModelConfig,
|
||||
|
||||
@@ -91,6 +91,12 @@ vi.mock("../plugins/manifest-contract-eligibility.js", () => ({
|
||||
}),
|
||||
}));
|
||||
|
||||
vi.mock("../plugins/current-plugin-metadata-snapshot.js", () => ({
|
||||
getCurrentPluginMetadataSnapshot: () => ({
|
||||
plugins: mediaMetadataPlugins,
|
||||
}),
|
||||
}));
|
||||
|
||||
import {
|
||||
providerSupportsNativePdfDocument,
|
||||
resolveAutoMediaKeyProviders,
|
||||
|
||||
Reference in New Issue
Block a user