diff options
Diffstat (limited to 'cli/tests/testdata/workers/bench_round_robin.ts')
-rw-r--r-- | cli/tests/testdata/workers/bench_round_robin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/workers/bench_round_robin.ts b/cli/tests/testdata/workers/bench_round_robin.ts index 13afe286b..062eff7a7 100644 --- a/cli/tests/testdata/workers/bench_round_robin.ts +++ b/cli/tests/testdata/workers/bench_round_robin.ts @@ -25,7 +25,7 @@ async function main() { const workers: Array<[Map<number, Deferred<string>>, Worker]> = []; for (let i = 1; i <= workerCount; ++i) { const worker = new Worker( - new URL("bench_worker.ts", import.meta.url).href, + import.meta.resolve("./bench_worker.ts"), { type: "module" }, ); const promise = deferred(); |