Skip to content

Commit

Permalink
add file:// prefix for imports in test runner (denoland/std#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 4ce2a32 commit 917b202
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 917b202

Please sign in to comment.