mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-04 14:04:40 -04:00
fix(oauth): Don't run OAuth tests under WASM
They almost all require a mock server. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
committed by
Stefan Ceriu
parent
c4ec32cb78
commit
9434a112d9
@@ -244,7 +244,7 @@ pub enum CrossProcessRefreshLockError {
|
||||
DuplicatedLock,
|
||||
}
|
||||
|
||||
#[cfg(all(test, feature = "e2e-encryption"))]
|
||||
#[cfg(all(test, feature = "e2e-encryption", not(target_arch = "wasm32")))]
|
||||
mod tests {
|
||||
|
||||
use anyhow::Context as _;
|
||||
|
||||
@@ -177,7 +177,7 @@ pub mod qrcode;
|
||||
pub mod registration;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
mod registration_store;
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, not(target_arch = "wasm32")))]
|
||||
mod tests;
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
|
||||
Reference in New Issue
Block a user