summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-09 22:44:29 +0100
committerGitHub <noreply@github.com>2024-09-09 23:44:29 +0200
commit064a73f7a08eb12d99fcdf8844e9ce5db62be78b (patch)
treea1672b2151d3e7c5db490dad9fc3917064ee64aa /tests
parent560ad0331bf99a2564f53201cd086ff902901bfe (diff)
BREAKING: Remove `--unstable` flag (#25522)
This commit effectively removes the --unstable flag. It's still being parsed, but it only prints a warning that a granular flag should be used instead and doesn't actually enable any unstable feature. Closes https://github.com/denoland/deno/issues/25485 Closes https://github.com/denoland/deno/issues/23237
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/node_unit_tests.rs4
-rw-r--r--tests/integration/run_tests.rs2
-rw-r--r--tests/specs/run/045_proxy/proxy_test.ts2
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/integration/node_unit_tests.rs b/tests/integration/node_unit_tests.rs
index dfe15a11c..3bec6bb7d 100644
--- a/tests/integration/node_unit_tests.rs
+++ b/tests/integration/node_unit_tests.rs
@@ -111,7 +111,9 @@ fn node_unit_test(test: String) {
.arg("--config")
.arg(deno_config_path())
.arg("--no-lock")
- .arg("--unstable")
+ .arg("--unstable-broadcast-channel")
+ .arg("--unstable-http")
+ .arg("--unstable-net")
// TODO(kt3k): This option is required to pass tls_test.ts,
// but this shouldn't be necessary. tls.connect currently doesn't
// pass hostname option correctly and it causes cert errors.
diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs
index ef688517f..a75ca4c15 100644
--- a/tests/integration/run_tests.rs
+++ b/tests/integration/run_tests.rs
@@ -4338,7 +4338,7 @@ async fn websocketstream_ping() {
let child = util::deno_cmd()
.arg("test")
- .arg("--unstable")
+ .arg("--unstable-net")
.arg("--allow-net")
.arg("--cert")
.arg(root_ca)
diff --git a/tests/specs/run/045_proxy/proxy_test.ts b/tests/specs/run/045_proxy/proxy_test.ts
index 70781f97d..8ef7cf3da 100644
--- a/tests/specs/run/045_proxy/proxy_test.ts
+++ b/tests/specs/run/045_proxy/proxy_test.ts
@@ -108,7 +108,7 @@ async function testFetchProgrammaticProxy() {
"--quiet",
"--reload",
"--allow-net=localhost:4545,localhost:4555",
- "--unstable",
+ "--unstable-http",
"programmatic_proxy_client.ts",
],
}).output();