Skip to content

Commit

Permalink
Fix wasm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PKopel committed Nov 19, 2023
1 parent c3c7d79 commit 61d182a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:

- name: Run wasm tests
run: |
cd filegram-web && wasm-pack test --firefox --headless
cd filegram-web && wasm-pack test --node
3 changes: 0 additions & 3 deletions filegram-web/tests/web.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
//! Test suite for the Web and headless browsers.

#![cfg(target_arch = "wasm32")]

extern crate wasm_bindgen_test;
use filegram::{decode, encode};
use getrandom;
use std::include_bytes;

use wasm_bindgen_test::*;

Expand Down

0 comments on commit 61d182a

Please sign in to comment.