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/worker_drop_handle_race.js | |
parent | 73504d76b29eddc1a563e74bb379682e23347b3c (diff) |
chore: use import.meta.resolve() in tests (#15256)
Diffstat (limited to 'cli/tests/testdata/worker_drop_handle_race.js')
-rw-r--r-- | cli/tests/testdata/worker_drop_handle_race.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/worker_drop_handle_race.js b/cli/tests/testdata/worker_drop_handle_race.js index 0285b55d2..78f2d6cab 100644 --- a/cli/tests/testdata/worker_drop_handle_race.js +++ b/cli/tests/testdata/worker_drop_handle_race.js @@ -7,6 +7,6 @@ // The exception thrown in the worker will not terminate the worker, but it will // propagate to the main thread and cause it to exit. new Worker( - new URL("./workers/drop_handle_race.js", import.meta.url).href, + import.meta.resolve("./workers/drop_handle_race.js"), { type: "module" }, ); |