mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:20:44 +00:00
test: align provider schema metadata fixture
This commit is contained in:
@@ -26,6 +26,16 @@ describe("ChannelsSchema bundled runtime loading", () => {
|
||||
vi.doMock("../plugins/plugin-registry.js", () => ({
|
||||
loadPluginManifestRegistryForPluginRegistry: (options?: Record<string, unknown>) =>
|
||||
loadPluginManifestRegistryMock(options),
|
||||
loadPluginRegistrySnapshotWithMetadata: () => ({
|
||||
source: "derived",
|
||||
snapshot: { plugins: [] },
|
||||
diagnostics: [],
|
||||
}),
|
||||
}));
|
||||
vi.doMock("../plugins/plugin-metadata-snapshot.js", () => ({
|
||||
loadPluginMetadataSnapshot: () => ({
|
||||
manifestRegistry: loadPluginManifestRegistryMock({ includeDisabled: true }),
|
||||
}),
|
||||
}));
|
||||
vi.doMock("../plugins/bundled-channel-config-metadata.js", () => ({
|
||||
collectBundledChannelConfigs: (params: unknown) => collectBundledChannelConfigsMock(params),
|
||||
|
||||
Reference in New Issue
Block a user