Fix wasm tests

This commit is contained in:
Andras Schmelczer 2025-01-05 20:58:12 +00:00
parent e43a13648b
commit f1cc7441a4
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 23 additions and 27 deletions

View file

@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
base64 = "0.22.1"
reconcile = { path = "../reconcile" }
wasm-bindgen = "0.2.84"
wasm-bindgen = "0.2.99"
thiserror = { workspace = true }
# The `console_error_panic_hook` crate provides better debugging of panics by
@ -20,7 +20,7 @@ thiserror = { workspace = true }
console_error_panic_hook = { version = "0.1.7", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3.34"
wasm-bindgen-test = "0.3.49"
insta = "1.41.1"
[features]

View file

@ -4,8 +4,6 @@ use insta::assert_debug_snapshot;
use sync_lib::*;
use wasm_bindgen_test::*;
wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
#[wasm_bindgen_test(unsupported = test)]
fn test_bytes_to_base64() {
let input = b"hello";