diff --git a/src/features/mcp-oauth/provider.test.ts b/src/features/mcp-oauth/provider.test.ts index 509c294b2..e55ea7540 100644 --- a/src/features/mcp-oauth/provider.test.ts +++ b/src/features/mcp-oauth/provider.test.ts @@ -7,7 +7,7 @@ const { generateCodeVerifier, generateCodeChallenge, buildAuthorizationUrl, -} = await import(new URL("./provider.ts", import.meta.url).href) +} = await import(new URL("./provider.ts?real-provider-test", import.meta.url).href) describe("McpOAuthProvider", () => { describe("generateCodeVerifier", () => { diff --git a/src/shared/connected-providers-cache.test.ts b/src/shared/connected-providers-cache.test.ts index 650676a7c..85c7ab27b 100644 --- a/src/shared/connected-providers-cache.test.ts +++ b/src/shared/connected-providers-cache.test.ts @@ -7,7 +7,7 @@ import { tmpdir } from "node:os" import { join } from "node:path" const { createConnectedProvidersCacheStore, findProviderModelMetadata } = await import( - new URL("./connected-providers-cache.ts", import.meta.url).href + new URL("./connected-providers-cache.ts?real-connected-providers-cache-test", import.meta.url).href ) function createTestCacheContext() { diff --git a/src/shared/legacy-plugin-warning.test.ts b/src/shared/legacy-plugin-warning.test.ts index adf580d7d..49dc0309d 100644 --- a/src/shared/legacy-plugin-warning.test.ts +++ b/src/shared/legacy-plugin-warning.test.ts @@ -4,7 +4,7 @@ import { tmpdir } from "node:os" import { join } from "node:path" const { checkForLegacyPluginEntry } = await import( - new URL("./legacy-plugin-warning.ts", import.meta.url).href + new URL("./legacy-plugin-warning.ts?real-legacy-plugin-warning-test", import.meta.url).href ) function createTestConfigDir(): string {