Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraef committed Jun 30, 2024
1 parent b3ca8c9 commit de0014d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Run WASM tests
if: matrix.os == 'ubuntu-latest'
run: wasm-pack test --node -- --verbose --all-features
run: wasm-pack test --chrome --headless -- --verbose --all-features

- name: Check Semver
if: matrix.os == 'ubuntu-latest'
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ pub mod tests {
#[cfg(target_arch = "wasm32")]
use wasm_bindgen_test::wasm_bindgen_test;

#[cfg(target_arch = "wasm32")]
wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);

use super::{websocket, CloseCode, Message, RequestBuilderExt, WebSocket};

async fn test_websocket(mut websocket: WebSocket) {
Expand Down

0 comments on commit de0014d

Please sign in to comment.