From 6cac2f51acfc0cfda52d1637168d278fe55efcf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 15 Aug 2019 12:20:39 +0200 Subject: [PATCH] add file:// prefix for imports in test runner --- testing/runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/runner.ts b/testing/runner.ts index eda28e02eb4d..a959e5473fac 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({