diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2024-02-08 13:09:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-08 13:09:47 -0700 |
| commit | a417772bd7dc4f8508621ec7b2fb75f9bfeca955 (patch) | |
| tree | f2f522db2abb07eb5472cf9d81645506b6d91380 /cli/tests/integration/run_tests.rs | |
| parent | d704007e5fdcf1f27030dc5832b884290f1f35de (diff) | |
chore: Promote some integration tests to js_unit_tests (#22355)
- Move a workers test to js_unit_tests and make it work
- (slightly) repair the websocketstream_test and make it a JS unit test.
This test was being ignored and rotted quite a bit, but there's some
value in running as much of it as we can.
- Merge the two websocket test files
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
| -rw-r--r-- | cli/tests/integration/run_tests.rs | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 56eea9c8d..3d14bb0bb 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -4390,49 +4390,6 @@ itest!(ext_flag_takes_precedence_over_extension { exit_code: 0, }); -#[test] -fn websocket() { - let _g = util::http_server(); - - let script = util::testdata_path().join("run/websocket_test.ts"); - let root_ca = util::testdata_path().join("tls/RootCA.pem"); - let status = util::deno_cmd() - .arg("test") - .arg("--unstable") - .arg("--allow-net") - .arg("--cert") - .arg(root_ca) - .arg(script) - .spawn() - .unwrap() - .wait() - .unwrap(); - - assert!(status.success()); -} - -#[ignore] -#[test] -fn websocketstream() { - let _g = util::http_server(); - - let script = util::testdata_path().join("run/websocketstream_test.ts"); - let root_ca = util::testdata_path().join("tls/RootCA.pem"); - let status = util::deno_cmd() - .arg("test") - .arg("--unstable") - .arg("--allow-net") - .arg("--cert") - .arg(root_ca) - .arg(script) - .spawn() - .unwrap() - .wait() - .unwrap(); - - assert!(status.success()); -} - #[tokio::test(flavor = "multi_thread")] async fn websocketstream_ping() { let _g = util::http_server(); |
