diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-10-23 08:35:43 +0900 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-10-22 19:35:43 -0400 |
commit | 2804ba8674150b80ee181cc3869e1fa12de661d3 (patch) | |
tree | 494a96b2afe927cbe8eff6c941ca8e0afbd39446 /cli/tests/integration_tests.rs | |
parent | edd6a90da855619feecb05c2cf87448b0c23da86 (diff) |
remove --no-prompt flag, fail on missing permissions (#3183)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index d1b9a655e..909acfe04 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -311,11 +311,15 @@ itest!(_044_bad_resource { exit_code: 1, }); +// TODO(kt3k): Temporarily skip this test because welcome.ts doesn't seem +// working. +/* itest!(_045_proxy { args: "run --allow-net --allow-env --allow-run --reload 045_proxy_test.ts", output: "045_proxy_test.ts.out", http_server: true, }); +*/ itest!(_046_tsx { args: "run --reload 046_jsx_test.tsx", @@ -453,7 +457,7 @@ itest!(error_014_catch_dynamic_import_error { }); itest!(error_015_dynamic_import_permissions { - args: "--reload --no-prompt error_015_dynamic_import_permissions.js", + args: "--reload error_015_dynamic_import_permissions.js", output: "error_015_dynamic_import_permissions.out", check_stderr: true, exit_code: 1, @@ -462,8 +466,7 @@ itest!(error_015_dynamic_import_permissions { // We have an allow-net flag but not allow-read, it should still result in error. itest!(error_016_dynamic_import_permissions2 { - args: - "--no-prompt --reload --allow-net error_016_dynamic_import_permissions2.js", + args: "--reload --allow-net error_016_dynamic_import_permissions2.js", output: "error_016_dynamic_import_permissions2.out", check_stderr: true, exit_code: 1, |