diff options
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/check_tests.rs | 1 | ||||
-rw-r--r-- | tests/integration/run_tests.rs | 16 | ||||
-rw-r--r-- | tests/integration/watcher_tests.rs | 7 |
3 files changed, 3 insertions, 21 deletions
diff --git a/tests/integration/check_tests.rs b/tests/integration/check_tests.rs index 8bb0ddde2..f5af5803c 100644 --- a/tests/integration/check_tests.rs +++ b/tests/integration/check_tests.rs @@ -215,7 +215,6 @@ fn typecheck_declarations_unstable() { let args = vec![ "test".to_string(), "--doc".to_string(), - "--unstable".to_string(), util::root_path() .join("cli/tsc/dts/lib.deno.unstable.d.ts") .to_string_lossy() diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index a75ca4c15..e18428575 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -488,9 +488,8 @@ itest!(_088_dynamic_import_already_evaluating { output: "run/088_dynamic_import_already_evaluating.ts.out", }); -// TODO(bartlomieju): remove --unstable once Deno.Command is stabilized itest!(_089_run_allow_list { - args: "run --unstable --allow-run=curl run/089_run_allow_list.ts", + args: "run --allow-run=curl run/089_run_allow_list.ts", envs: vec![ ("LD_LIBRARY_PATH".to_string(), "".to_string()), ("DYLD_FALLBACK_LIBRARY_PATH".to_string(), "".to_string()) @@ -2540,14 +2539,12 @@ mod permissions { use test_util::itest; use util::TestContext; - // TODO(bartlomieju): remove --unstable once Deno.Command is stabilized #[test] fn with_allow() { for permission in &util::PERMISSION_VARIANTS { let status = util::deno_cmd() .current_dir(util::testdata_path()) .arg("run") - .arg("--unstable") .arg(format!("--allow-{permission}")) .arg("run/permission_test.ts") .arg(format!("{permission}Required")) @@ -2559,13 +2556,12 @@ mod permissions { } } - // TODO(bartlomieju): remove --unstable once Deno.Command is stabilized #[test] fn without_allow() { for permission in &util::PERMISSION_VARIANTS { let (_, err) = util::run_and_collect_output( false, - &format!("run --unstable run/permission_test.ts {permission}Required"), + &format!("run run/permission_test.ts {permission}Required"), None, None, false, @@ -3019,7 +3015,7 @@ mod permissions { fn _066_prompt() { TestContext::default() .new_command() - .args_vec(["run", "--quiet", "--unstable", "run/066_prompt.ts"]) + .args_vec(["run", "--quiet", "run/066_prompt.ts"]) .with_pty(|mut console| { console.expect("What is your name? Jane Doe"); console.write_line_raw(""); @@ -3575,7 +3571,6 @@ fn deno_no_prompt_environment_variable() { let output = util::deno_cmd() .current_dir(util::testdata_path()) .arg("run") - .arg("--unstable") .arg("run/no_prompt.ts") .env("DENO_NO_PROMPT", "1") .spawn() @@ -4089,7 +4084,6 @@ async fn http2_request_url() { let mut child = util::deno_cmd() .current_dir(util::testdata_path()) .arg("run") - .arg("--unstable") .arg("--quiet") .arg("--allow-net") .arg("--allow-read") @@ -4384,7 +4378,6 @@ async fn websocket_server_multi_field_connection_header() { let root_ca = util::testdata_path().join("tls/RootCA.pem"); let mut child = util::deno_cmd() .arg("run") - .arg("--unstable") .arg("--allow-net") .arg("--cert") .arg(root_ca) @@ -4438,7 +4431,6 @@ async fn websocket_server_idletimeout() { let root_ca = util::testdata_path().join("tls/RootCA.pem"); let mut child = util::deno_cmd() .arg("run") - .arg("--unstable") .arg("--allow-net") .arg("--cert") .arg(root_ca) @@ -5089,7 +5081,6 @@ async fn listen_tls_alpn() { let mut child = util::deno_cmd() .current_dir(util::testdata_path()) .arg("run") - .arg("--unstable") .arg("--quiet") .arg("--allow-net") .arg("--allow-read") @@ -5143,7 +5134,6 @@ async fn listen_tls_alpn_fail() { let mut child = util::deno_cmd() .current_dir(util::testdata_path()) .arg("run") - .arg("--unstable") .arg("--quiet") .arg("--allow-net") .arg("--allow-read") diff --git a/tests/integration/watcher_tests.rs b/tests/integration/watcher_tests.rs index 91ac5611f..2590e79d6 100644 --- a/tests/integration/watcher_tests.rs +++ b/tests/integration/watcher_tests.rs @@ -499,7 +499,6 @@ async fn run_watch_no_dynamic() { .current_dir(t.path()) .arg("run") .arg("--watch") - .arg("--unstable") .arg("-L") .arg("debug") .arg(&file_to_watch) @@ -626,7 +625,6 @@ async fn run_watch_external_watch_files() { .arg(watch_arg) .arg("-L") .arg("debug") - .arg("--unstable") .arg(&file_to_watch) .env("NO_COLOR", "1") .piped_output() @@ -671,7 +669,6 @@ async fn run_watch_load_unload_events() { .current_dir(t.path()) .arg("run") .arg("--watch") - .arg("--unstable") .arg("-L") .arg("debug") .arg(&file_to_watch) @@ -723,7 +720,6 @@ async fn run_watch_not_exit() { .current_dir(t.path()) .arg("run") .arg("--watch") - .arg("--unstable") .arg("-L") .arg("debug") .arg(&file_to_watch) @@ -873,7 +869,6 @@ async fn test_watch_basic() { .current_dir(t.path()) .arg("test") .arg("--watch") - .arg("--unstable") .arg("--no-check") .arg(t.path()) .env("NO_COLOR", "1") @@ -1029,7 +1024,6 @@ async fn test_watch_doc() { .arg("test") .arg("--watch") .arg("--doc") - .arg("--unstable") .arg(t.path()) .env("NO_COLOR", "1") .piped_output() @@ -1407,7 +1401,6 @@ async fn run_watch_dynamic_imports() { .current_dir(t.path()) .arg("run") .arg("--watch") - .arg("--unstable") .arg("--allow-read") .arg("-L") .arg("debug") |