add file:// prefix for imports in test runner (#564)

This commit is contained in:
Bartek Iwańczuk 2019-08-15 16:17:08 +02:00 committed by Ryan Dahl
parent c44e5367bf
commit 15afc61356

View File

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