mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-24 08:36:10 -04:00
test(sdk): Do not run proptest on wasm32.
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
||||
@@ -611,6 +611,7 @@ mod tests {
|
||||
assert_eq!(diffs.len(), 1);
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
mod proptests {
|
||||
use proptest::prelude::*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user