Skip to content

Commit

Permalink
use firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
leejw51crypto committed Nov 29, 2023
1 parent 57b13b7 commit e52398e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ python-tests:
wasm-ci-tests:
export WASM_BINDGEN_TEST_TIMEOUT=60
@nix-shell ./integration_tests/shell.nix --run "scripts/chainmain-ctl start"
cd bindings/wasm/ && wasm-pack test --chrome --headless && cd ../..
cd bindings/wasm/ && wasm-pack test --firefox --headless && cd ../..
@nix-shell ./integration_tests/shell.nix --run "scripts/chainmain-ctl stop"
@nix-shell ./integration_tests/shell.nix --run "scripts/chainmain-ctl clear"
@nix-shell ./integration_tests/shell.nix --run "scripts/start-all"
cd bindings/wasm/ && wasm-pack test --chrome --headless -- --features cronos-test,ibc-test --test ibc --test ethereum && cd ../..
cd bindings/wasm/ && wasm-pack test --firefox --headless -- --features cronos-test,ibc-test --test ibc --test ethereum && cd ../..
@nix-shell ./integration_tests/shell.nix --run "scripts/stop-all"

# No ibc test
Expand Down
2 changes: 1 addition & 1 deletion scripts/full-wasm-tests
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
# Test for ibc transfer
./scripts/start-all
cd bindings/wasm/
wasm-pack test --chrome --headless -- --features ibc-test --test ibc
wasm-pack test --firefox --headless -- --features ibc-test --test ibc
cd ../..
./scripts/stop-all
2 changes: 1 addition & 1 deletion scripts/wasm-tests
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export WASM_BINDGEN_TEST_TIMEOUT=60
# Do wasm tests
sleep 5
cd ../bindings/wasm/
wasm-pack test --chrome --headless
wasm-pack test --firefox --headless

cd $script_dir

Expand Down

0 comments on commit e52398e

Please sign in to comment.