diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-07-20 16:56:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-20 16:56:53 +0200 |
| commit | d17b3906bf3a0871d54e9fdc009891e378dc45f5 (patch) | |
| tree | 446551bf2f53908d01a4a9b6d35905065369068b /cli/tests/testdata/test | |
| parent | 73504d76b29eddc1a563e74bb379682e23347b3c (diff) | |
chore: use import.meta.resolve() in tests (#15256)
Diffstat (limited to 'cli/tests/testdata/test')
| -rw-r--r-- | cli/tests/testdata/test/captured_output.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/test/captured_output.ts b/cli/tests/testdata/test/captured_output.ts index 6e74ef4ad..2e6aec948 100644 --- a/cli/tests/testdata/test/captured_output.ts +++ b/cli/tests/testdata/test/captured_output.ts @@ -21,7 +21,7 @@ Deno.test("output", async () => { }); await c.status; const worker = new Worker( - new URL("./captured_output.worker.js", import.meta.url).href, + import.meta.resolve("./captured_output.worker.js"), { type: "module" }, ); |
