AppFlowy-Cloud/libs/wasm-test
Nathan.fooo a318d2f96d
test: wasm test (#271)
* test: wasm test

* ci: run wasm test

* fix: wasm websocket connect

* chore: add logs

* ci: fix
2024-01-24 05:51:42 +08:00
..
src feat: create websocket crate for wasm and native (#269) 2024-01-23 14:25:01 +08:00
tests test: wasm test (#271) 2024-01-24 05:51:42 +08:00
Cargo.toml test: wasm test (#271) 2024-01-24 05:51:42 +08:00
README.md test: wasm test (#271) 2024-01-24 05:51:42 +08:00

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