From 8e336643b5b6e1044e6da886a6c5c4dde5b9e447 Mon Sep 17 00:00:00 2001 From: Horaci Macias Date: Fri, 24 Jan 2025 16:44:28 +0100 Subject: [PATCH] fix: update documented wasm-pack commands used for testing --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 92c9dcf2..745da844 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -79,7 +79,7 @@ cargo build -p my-particular-crate To run headless browser tests for a particular crate: ```shell -wasm-pack test crates/my-particular-crate --headless --firefox # or --safari or --chrome +wasm-pack test --headless --firefox crates/my-particular-crate # or --safari or --chrome ``` #### Wasm Node Tests @@ -87,7 +87,7 @@ wasm-pack test crates/my-particular-crate --headless --firefox # or --safari or To run tests in Node.js: ```shell -wasm-pack test crates/my-particular-crate --node +wasm-pack test --node crates/my-particular-crate ``` #### Non-Wasm Tests