diff --git a/starknet-core/src/types/byte_array.rs b/starknet-core/src/types/byte_array.rs index c819ae53..fd7e85f7 100644 --- a/starknet-core/src/types/byte_array.rs +++ b/starknet-core/src/types/byte_array.rs @@ -331,7 +331,6 @@ mod tests { #[test] #[should_panic] - #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)] fn test_byte_array_to_string_invalid_utf8() { let invalid = Felt::from_bytes_be_slice(b"\xF0\x90\x80"); diff --git a/starknet-core/src/types/bytes_31.rs b/starknet-core/src/types/bytes_31.rs index 02621d8a..f0f78a22 100644 --- a/starknet-core/src/types/bytes_31.rs +++ b/starknet-core/src/types/bytes_31.rs @@ -110,7 +110,6 @@ mod tests { #[test] #[should_panic] - #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)] fn test_bytes31_from_invalid_utf8() { let invalid = b"Hello \xF0\x90\x80World"; let felt = Felt::from_bytes_be_slice(invalid);