Debian Codegraph @

.cargo/vendor/wasm-bindgen/guide/src/contributing/js-sys/testing.md

raw
1 # Testing
2
3 You can test the `js-sys` crate by running `cargo test --target
4 wasm32-unknown-unknown` within the `crates/js-sys` directory in the
5 `wasm-bindgen` repository:
6
7 ```sh
8 cd wasm-bindgen/crates/js-sys
9 cargo test --target wasm32-unknown-unknown
10 ```
11
12 These tests are largely executed in Node.js right now via the
13 [`wasm-bindgen-test` framework](../../wasm-bindgen-test/index.html)