diff --git a/docs/src/commands/test.md b/docs/src/commands/test.md index b851b0ab..5f382c8e 100644 --- a/docs/src/commands/test.md +++ b/docs/src/commands/test.md @@ -74,9 +74,12 @@ $ tree crates/foo # Run all tests in tests/diff_patch.rs in Firefox wasm-pack test crates/foo --firefox --headless --test diff_patch -# Run all tests in tests/diff_patch.rs that contain the word "replace" +# Run all tests in tests/diff_patch.rs that contain the word "replace" (does that still work?) wasm-pack test crates/foo --firefox --headless --test diff_patch replace +# Run single test in tests/diff_patch.rs +wasm-pack test crates/foo --firefox --headless --test diff_patch -- modname::test_name + # Run all tests inside of a `tests` module inside of src/lib/diff.rs wasm-pack test crates/foo --firefox --headless --lib diff::tests