From 917b202354120bdb63f7762552f056d3ff7f8964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 15 Aug 2019 16:17:08 +0200 Subject: [PATCH] add file:// prefix for imports in test runner (denoland/deno_std#564) Original: https://github.com/denoland/deno_std/commit/15afc61356afe0bbf36c78cc3da8d9182d0e5b75 --- testing/runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/runner.ts b/testing/runner.ts index eda28e02eb..a959e5473f 100755 --- a/testing/runner.ts +++ b/testing/runner.ts @@ -113,7 +113,7 @@ export async function main(root: string = cwd()): Promise { console.log(`Found ${foundTestFiles.length} matching test files.`); for (const filename of foundTestFiles) { - await import(filename); + await import(`file://${filename}`); } await runTests({