diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-05-17 21:27:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 22:27:17 +0200 |
commit | 330c820ae8d7826dfe3d88c01ba07728121fa021 (patch) | |
tree | a5c0216f5cba4ea503e9cba3b0abdd8d4290c123 /cli/tests/unit/worker_permissions_test.ts | |
parent | f57aac77ff9ce514730504066daca0a61a959d32 (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/unit/worker_permissions_test.ts')
-rw-r--r-- | cli/tests/unit/worker_permissions_test.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cli/tests/unit/worker_permissions_test.ts b/cli/tests/unit/worker_permissions_test.ts index 145862402..2c21d6fa6 100644 --- a/cli/tests/unit/worker_permissions_test.ts +++ b/cli/tests/unit/worker_permissions_test.ts @@ -11,15 +11,7 @@ Deno.test( "../testdata/workers/env_read_check_worker.js", import.meta.url, ).href, - { - type: "module", - deno: { - namespace: true, - permissions: { - env: ["test", "OTHER"], - }, - }, - }, + { type: "module", deno: { permissions: { env: ["test", "OTHER"] } } }, ); worker.onmessage = ({ data }) => { |