mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:50:45 +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 {
|
import {
|
||||||
coercePdfAssistantText,
|
coercePdfAssistantText,
|
||||||
coercePdfModelConfig,
|
coercePdfModelConfig,
|
||||||
|
|||||||
@@ -91,6 +91,12 @@ vi.mock("../plugins/manifest-contract-eligibility.js", () => ({
|
|||||||
}),
|
}),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
vi.mock("../plugins/current-plugin-metadata-snapshot.js", () => ({
|
||||||
|
getCurrentPluginMetadataSnapshot: () => ({
|
||||||
|
plugins: mediaMetadataPlugins,
|
||||||
|
}),
|
||||||
|
}));
|
||||||
|
|
||||||
import {
|
import {
|
||||||
providerSupportsNativePdfDocument,
|
providerSupportsNativePdfDocument,
|
||||||
resolveAutoMediaKeyProviders,
|
resolveAutoMediaKeyProviders,
|
||||||
|
|||||||
Reference in New Issue
Block a user