diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-08-15 16:17:08 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-15 10:17:08 -0400 |
commit | 917b202354120bdb63f7762552f056d3ff7f8964 (patch) | |
tree | b1ba2859b038534ea491736464e1a6bf552a4d93 /testing | |
parent | 4ce2a321c8da5326901316a5787f0968dbb7b3b2 (diff) |
add file:// prefix for imports in test runner (denoland/deno_std#564)
Original: https://github.com/denoland/deno_std/commit/15afc61356afe0bbf36c78cc3da8d9182d0e5b75
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/runner.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runner.ts b/testing/runner.ts index eda28e02e..a959e5473 100755 --- a/testing/runner.ts +++ b/testing/runner.ts @@ -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({ |