Skip to content

Commit

Permalink
add file:// prefix for imports in test runner (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored and ry committed Aug 15, 2019
1 parent c44e536 commit 15afc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 15afc61

Please sign in to comment.