Skip to content

Commit

Permalink
fix(docs): update cargo test command (#2144)
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced authored Jun 18, 2024
1 parent 2e21532 commit d9d1229
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit d9d1229

Please sign in to comment.