summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-27 06:56:00 +1100
committerGitHub <noreply@github.com>2020-10-27 06:56:00 +1100
commitb03f4a4a1c252d808b72fc462ea783362f810c75 (patch)
tree2199c73cb12c9650ae829ee73d377d1a35ec4071 /cli/tests/integration_tests.rs
parentacc201625fd613c6e1e66d1714069726ec2a4b73 (diff)
fix(cli): restore permission check on workers (#8123)
Fixes #8120
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index e637db07a..5a6bdae14 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2467,6 +2467,19 @@ itest!(error_local_static_import_from_remote_js {
output: "error_local_static_import_from_remote.js.out",
});
+itest!(error_worker_permissions_local {
+ args: "run --reload error_worker_permissions_local.ts",
+ output: "error_worker_permissions_local.ts.out",
+ exit_code: 1,
+});
+
+itest!(error_worker_permissions_remote {
+ args: "run --reload error_worker_permissions_remote.ts",
+ http_server: true,
+ output: "error_worker_permissions_remote.ts.out",
+ exit_code: 1,
+});
+
itest!(exit_error42 {
exit_code: 42,
args: "run --quiet --reload exit_error42.ts",