summaryrefslogtreecommitdiff
path: root/tests/unit/worker_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/worker_test.ts')
-rw-r--r--tests/unit/worker_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/worker_test.ts b/tests/unit/worker_test.ts
index 700f57b6b..88c6ca4c6 100644
--- a/tests/unit/worker_test.ts
+++ b/tests/unit/worker_test.ts
@@ -546,7 +546,7 @@ Deno.test({
);
worker.terminate();
},
- Deno.errors.PermissionDenied,
+ Deno.errors.NotCapable,
"Can't escalate parent thread permissions",
);
},