summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/set_exit_code_in_worker.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-05-17 21:27:17 +0100
committerGitHub <noreply@github.com>2022-05-17 22:27:17 +0200
commit330c820ae8d7826dfe3d88c01ba07728121fa021 (patch)
treea5c0216f5cba4ea503e9cba3b0abdd8d4290c123 /cli/tests/testdata/set_exit_code_in_worker.ts
parentf57aac77ff9ce514730504066daca0a61a959d32 (diff)
BREAKING(unstable): Enable Deno namespace in workers by default (#14581)
This commit removes "WorkerOptions.deno" option as a boolean, as well as "WorkerOptions.deno.namespace" settings. Starting with this commit all workers have access to "Deno" namespace by default.
Diffstat (limited to 'cli/tests/testdata/set_exit_code_in_worker.ts')
-rw-r--r--cli/tests/testdata/set_exit_code_in_worker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/set_exit_code_in_worker.ts b/cli/tests/testdata/set_exit_code_in_worker.ts
index 1df6a76d0..c49c6efb2 100644
--- a/cli/tests/testdata/set_exit_code_in_worker.ts
+++ b/cli/tests/testdata/set_exit_code_in_worker.ts
@@ -2,7 +2,7 @@ import { deferred } from "../../../test_util/std/async/deferred.ts";
const worker = new Worker(
new URL("set_exit_code_worker.js", import.meta.url).href,
- { type: "module", deno: { namespace: true } },
+ { type: "module" },
);
const promise1 = deferred();