Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): update cargo test command #2144

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/DEV_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
```
sudo ln -s $(which podman) /usr/bin/docker
```
9. Try `cargo test --features "native run-docker-tests" --all -- --test-threads=16`.
9. Try `cargo test --all --features run-docker-tests -- --test-threads=16`.

## Running WASM tests

Expand Down Expand Up @@ -66,7 +66,7 @@
CC=/opt/homebrew/opt/llvm/bin/clang AR=/opt/homebrew/opt/llvm/bin/llvm-ar wasm-pack test --firefox --headless mm2src/mm2_main
```
Please note `CC` and `AR` must be specified in the same line as `wasm-pack test mm2src/mm2_main`.
#### Running specific WASM tests with Cargo</br>
#### Running specific WASM tests with Cargo</br>
- Install `wasm-bindgen-cli`: </br>
Make sure you have wasm-bindgen-cli installed with a version that matches the one specified in your Cargo.toml file.
You can install it using Cargo with the following command:
Expand Down
Loading