Files
2026-08-01 16:11:49 +03:00

529 B

Testing

The tests use wasm-pack. See the wasm-bindgen guide for more information.

We run the tests in Node.js, Chrome and Firefox:

wasm-pack test --node
WASM_BINDGEN_USE_BROWSER=1 wasm-pack test --headless --chrome
WASM_BINDGEN_USE_BROWSER=1 wasm-pack test --headless --firefox

When debugging the browser tests, remove the --headless flag:

WASM_BINDGEN_USE_BROWSER=1 wasm-pack test --chrome