439 B
439 B
Run test
before running the test, it requires to install the chrome driver. for mac user, you can install it by brew.
brew install chromedriver
then run the test
wasm-pack test --headless --chrome
Testing in browser
wasm-pack test --chrome
Ref: wasm-bindgen-test