- Install
Trunk
Rust bundler from here - Install
Just
(Justfile
) Rust command runner here - Make sure the
wasm32-unkown-unknown
target is installed if not you can use
rustup target add wasm32-unknown-unknown
- Run the project using
just web-dev
command
just web-dev
Tests runs in a Headless Browser using wasm-bindgen-test
and wasm-bindgen-test-runner
You must install wasm-pack
:
cargo install wasm-pack
Then run the tests using just web-test
command
just web-test
The first time the Headless Browser is installed to the temporal directory for your system. Then it is cached for future runs, so expect a bit of delay the first time you run the tests.
Licensed under the MIT License