Skip to content

Commit

Permalink
Use build CLI to run protocol tests
Browse files Browse the repository at this point in the history
* Use build cli tool instead of rake to run protocol tests in
  ts-bindings.
* Update printing infos since we are running proptests as well.
  • Loading branch information
AmmarAbouZor authored and DmitryAstafyev committed Jan 7, 2025
1 parent d8a071c commit 921c437
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions application/apps/protocol/test.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "Build wasm module"
cargo clean
wasm-pack build --target nodejs

echo "Create test use-cases"
echo "Create test use-cases & Run Proptests"
cd ../indexer/stypes
export CHIPMUNK_PROTOCOL_TEST_OUTPUT="/tmp/stypes_test/"
cargo test --release --features "test_and_gen" -- --nocapture --ignored
Expand All @@ -32,5 +32,4 @@ export JASMIN_TEST_BLOCKS_LOGS=on
cd ../../rustcore/ts-bindings
rm -rf ./node_modules
rm -rf ./spec/build
rake bindings:test:protocol

cargo chipmunk test wrapper -u print -s spec/build/spec/session.protocol.spec.js

0 comments on commit 921c437

Please sign in to comment.