test(sdk): Do not run proptest on wasm32.

This commit is contained in:
Ivan Enderlin
2024-05-27 09:48:08 +02:00
parent 4c9398f6bd
commit 78433d3dc7
2 changed files with 2 additions and 1 deletions

View File

@@ -143,7 +143,6 @@ futures-executor = { workspace = true }
matrix-sdk-base = { workspace = true, features = ["testing"] }
matrix-sdk-test = { workspace = true }
once_cell = { workspace = true }
proptest = "1.4.0"
serde_urlencoded = "0.7.1"
stream_assert = { workspace = true }
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
@@ -152,6 +151,7 @@ tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
wasm-bindgen-test = "0.3.33"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
proptest = "1.4.0"
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
wiremock = { workspace = true }

View File

@@ -611,6 +611,7 @@ mod tests {
assert_eq!(diffs.len(), 1);
}
#[cfg(not(target_arch = "wasm32"))]
mod proptests {
use proptest::prelude::*;