* test: wasm test * ci: run wasm test * fix: wasm websocket connect * chore: add logs * ci: fix |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| README.md | ||
README.md
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