mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
add file:// prefix for imports in test runner (#564)
This commit is contained in:
parent
c44e5367bf
commit
15afc61356
@ -113,7 +113,7 @@ export async function main(root: string = cwd()): Promise<void> {
|
||||
console.log(`Found ${foundTestFiles.length} matching test files.`);
|
||||
|
||||
for (const filename of foundTestFiles) {
|
||||
await import(filename);
|
||||
await import(`file://${filename}`);
|
||||
}
|
||||
|
||||
await runTests({
|
||||
|
Loading…
Reference in New Issue
Block a user