測試
您可以在 `wasm-bindgen` 儲存庫的 `crates/web-sys` 目錄中執行 `cargo test` 來測試 `web-sys` crate
cd wasm-bindgen/crates/web-sys
cargo test --target wasm32-unknown-unknown --all-features
Wasm 測試都將在無頭瀏覽器中執行。請參閱 `wasm-bindgen-test` crate 的 `README.md` 以了解詳細資訊和設定使用的無頭瀏覽器。