diff options
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" }, ); |