test: add wasm test to ci

This commit is contained in:
leeeon233 2022-11-23 16:44:18 +08:00 committed by Leonzhao
parent cc129ee753
commit 4eda9e2e17

View file

@ -1,9 +1,10 @@
{
"tasks": {
"build": "cargo build",
"test": "RUST_BACKTRACE=full cargo nextest run --features=test_utils",
"test": "RUST_BACKTRACE=full cargo nextest run --features=test_utils && deno task test-wasm",
"test-all": "deno task test & deno task quick-fuzz",
"test-prop": "RUSTFLAGS='--cfg=proptest' cargo nextest run --features=test_utils",
"test-wasm": "cd crates/loro-wasm && deno task build && deno task test",
"check": "cargo clippy --all-features",
"quick-fuzz": "cd crates/loro-core && deno task quick-fuzz",
"fix": "cargo clippy --fix --features=test_utils",