Skip to content

Commit

Permalink
Fix up requirements for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Mar 22, 2024
1 parent aed84ba commit de0254e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: cat .github/Cargo.toml.wasm_ci >> Cargo.toml
- run: cargo test
- run: wasm-pack test --headless --chrome
- run: wasm-pack test --headless --firefox

Expand Down
2 changes: 2 additions & 0 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ use fixedbitset::*;

#[cfg(target_family = "wasm")]
use wasm_bindgen_test::*;
#[cfg(target_family = "wasm")]
wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);

extern crate alloc;

Expand Down

0 comments on commit de0254e

Please sign in to comment.