test: load real modules with unique import ids
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user