From d1f199ddb0c01a2bda6b944c8cc6a947300c8b5a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 2 May 2026 09:04:18 +0100 Subject: [PATCH] test: align provider schema metadata fixture --- src/config/zod-schema.providers.lazy-runtime.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/config/zod-schema.providers.lazy-runtime.test.ts b/src/config/zod-schema.providers.lazy-runtime.test.ts index b78786edaa0..d90f5dee8eb 100644 --- a/src/config/zod-schema.providers.lazy-runtime.test.ts +++ b/src/config/zod-schema.providers.lazy-runtime.test.ts @@ -26,6 +26,16 @@ describe("ChannelsSchema bundled runtime loading", () => { vi.doMock("../plugins/plugin-registry.js", () => ({ loadPluginManifestRegistryForPluginRegistry: (options?: Record) => 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),