From 725938f0f5b05d7b1b90da917c74fba2660409cd Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 27 Apr 2026 07:53:06 +0100 Subject: [PATCH] test: avoid heavy registry imports in web provider tests --- src/plugins/web-fetch-providers.runtime.test.ts | 2 +- src/plugins/web-search-providers.runtime.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/web-fetch-providers.runtime.test.ts b/src/plugins/web-fetch-providers.runtime.test.ts index eaaea2ba07d..ca06f979dff 100644 --- a/src/plugins/web-fetch-providers.runtime.test.ts +++ b/src/plugins/web-fetch-providers.runtime.test.ts @@ -1,5 +1,5 @@ import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; -import { createEmptyPluginRegistry } from "./registry.js"; +import { createEmptyPluginRegistry } from "./registry-empty.js"; type LoaderModule = typeof import("./loader.js"); type ManifestRegistryModule = typeof import("./manifest-registry.js"); diff --git a/src/plugins/web-search-providers.runtime.test.ts b/src/plugins/web-search-providers.runtime.test.ts index 8f8cb050836..18bb15fdfb6 100644 --- a/src/plugins/web-search-providers.runtime.test.ts +++ b/src/plugins/web-search-providers.runtime.test.ts @@ -338,7 +338,7 @@ function expectRuntimeProviderResolution( describe("resolvePluginWebSearchProviders", () => { beforeAll(async () => { - ({ createEmptyPluginRegistry } = await import("./registry.js")); + ({ createEmptyPluginRegistry } = await import("./registry-empty.js")); manifestRegistryModule = await import("./manifest-registry.js"); loaderModule = await import("./loader.js"); pluginAutoEnableModule = await import("../config/plugin-auto-enable.js");