Skip to content

chore!: Add tests for createProof and verifyProof alongside an easier to use abstraction #328

chore!: Add tests for createProof and verifyProof alongside an easier to use abstraction

chore!: Add tests for createProof and verifyProof alongside an easier to use abstraction #328

Workflow file for this run

name: Javascript tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install wasm-bindgen
run: ./scripts/install-wasm-bindgen.sh
- name: Install wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown
- run: npm install
# Install playwright dependencies
- run: npx playwright install
- run: npx playwright install-deps
- run: npm run build
- run: npm run test
- run: npm run test:browser
- run: node src.ts/tests/script.cjs