summaryrefslogtreecommitdiff
path: root/cli/tests/039_worker_deno_ns.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/039_worker_deno_ns.ts')
-rw-r--r--cli/tests/039_worker_deno_ns.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/cli/tests/039_worker_deno_ns.ts b/cli/tests/039_worker_deno_ns.ts
index 80ada4343..7cb7de7fb 100644
--- a/cli/tests/039_worker_deno_ns.ts
+++ b/cli/tests/039_worker_deno_ns.ts
@@ -1,7 +1,5 @@
-const w1 = new Worker("./039_worker_deno_ns/has_ns.ts");
-const w2 = new Worker("./039_worker_deno_ns/no_ns.ts", {
- noDenoNamespace: true
-});
+const w1 = new Worker("./039_worker_deno_ns/has_ns.ts", { type: "module" });
+const w2 = new Worker("./039_worker_deno_ns/no_ns.ts", { type: "module" });
let w1MsgCount = 0;
let w2MsgCount = 0;
w1.onmessage = (msg): void => {