summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/unstable_worker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/unstable_worker.ts')
-rw-r--r--cli/tests/testdata/unstable_worker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/unstable_worker.ts b/cli/tests/testdata/unstable_worker.ts
index a3b89a180..f96de6c4a 100644
--- a/cli/tests/testdata/unstable_worker.ts
+++ b/cli/tests/testdata/unstable_worker.ts
@@ -1,5 +1,5 @@
const w = new Worker(
- new URL("workers/worker_unstable.ts", import.meta.url).href,
+ import.meta.resolve("./workers/worker_unstable.ts"),
{ type: "module", name: "Unstable Worker" },
);