mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
add file:// prefix for imports in test runner (denoland/deno_std#564)
Original: 15afc61356
This commit is contained in:
parent
4ce2a321c8
commit
917b202354
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ export async function main(root: string = cwd()): Promise<void> {
|
||||||
console.log(`Found ${foundTestFiles.length} matching test files.`);
|
console.log(`Found ${foundTestFiles.length} matching test files.`);
|
||||||
|
|
||||||
for (const filename of foundTestFiles) {
|
for (const filename of foundTestFiles) {
|
||||||
await import(filename);
|
await import(`file://${filename}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
await runTests({
|
await runTests({
|
||||||
|
|
Loading…
Reference in a new issue