1
0
Fork 0
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:
Bartek Iwańczuk 2019-08-15 16:17:08 +02:00 committed by Ryan Dahl
parent 4ce2a321c8
commit 917b202354

View file

@ -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({