From 998c68914bded2e1c26c0f40bb328e25f67d50d4 Mon Sep 17 00:00:00 2001 From: Daniel Gallups Date: Sun, 3 Nov 2024 11:19:15 -0500 Subject: [PATCH] fix: update test action - add wasm-pack-action - comment unused crate in tests for lint --- .github/workflows/test.yaml | 1 + tests/wasm.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c9ae3c6..b84699c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,4 +21,5 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 + - uses: jetli/wasm-pack-action@v0.4.0 - run: wasm-pack test --chrome diff --git a/tests/wasm.rs b/tests/wasm.rs index 0ed8896..9c91e67 100644 --- a/tests/wasm.rs +++ b/tests/wasm.rs @@ -1,5 +1,5 @@ use wasm_bindgen_test::*; -use wasm_tracing::prelude::*; +//use wasm_tracing::prelude::*; #[wasm_bindgen_test] pub fn test() { wasm_tracing::set_as_global_default();