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/js_unit_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/js_unit_tests.rs')
-rw-r--r-- | cli/tests/integration/js_unit_tests.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/tests/integration/js_unit_tests.rs b/cli/tests/integration/js_unit_tests.rs index 951fc6f62..b037d473c 100644 --- a/cli/tests/integration/js_unit_tests.rs +++ b/cli/tests/integration/js_unit_tests.rs @@ -105,9 +105,10 @@ util::unit_test_factory!( webcrypto_test, webgpu_test, websocket_test, + websocketstream_test, webstorage_test, worker_permissions_test, - worker_types, + worker_test, write_file_test, write_text_file_test, ] @@ -123,7 +124,7 @@ fn js_unit_test(test: String) { .arg("cli/tests/config/deno.json") .arg("--no-lock") .arg("--unstable") - .arg("--location=http://js-unit-tests/foo/bar") + .arg("--location=http://127.0.0.1:4545/") .arg("--no-prompt"); // TODO(mmastrac): it would be better to just load a test CA for all tests |