ui: Activate sdk's testing feature for unit tests

Fixes running `cargo test` without any flags from the crate root.
pull/2036/head
Jonas Platte 2023-06-07 15:26:24 +02:00 committed by Jonas Platte
parent 0898c76bb7
commit b5339ceaba
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ rustls-tls = ["matrix-sdk/rustls-tls"]
experimental-room-list = ["experimental-sliding-sync", "dep:async-stream", "dep:eyeball-im-util"]
experimental-sliding-sync = ["matrix-sdk/experimental-sliding-sync"]
testing = ["matrix-sdk/testing", "dep:eyeball-im-util"]
testing = ["dep:eyeball-im-util"]
[dependencies]
async-once-cell = "0.5.2"
@ -46,6 +46,7 @@ anyhow = { workspace = true }
assert-json-diff = "2.0"
assert_matches = { workspace = true }
ctor = { workspace = true }
matrix-sdk = { version = "0.6.2", path = "../matrix-sdk", default-features = false, features = ["testing"] }
matrix-sdk-test = { version = "0.6.0", path = "../../testing/matrix-sdk-test" }
stream_assert = "0.1.0"
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }