mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-08 07:56:55 -04:00
Fix failing wasm test and clippy warnings for wasm
This commit is contained in:
@@ -1877,6 +1877,7 @@ mod test {
|
||||
use matrix_sdk_test::{async_test, test_json, EventBuilder, EventsJson};
|
||||
use serde_json::json;
|
||||
use std::convert::TryFrom;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use tempfile::tempdir;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
|
||||
@@ -1080,13 +1080,16 @@ impl Describe for MembershipChange {
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use crate::{
|
||||
events::{room::encryption::EncryptionEventContent, Unsigned},
|
||||
identifiers::{EventId, UserId},
|
||||
BaseClient, Raw, Session,
|
||||
identifiers::EventId,
|
||||
Raw,
|
||||
};
|
||||
use crate::{identifiers::UserId, BaseClient, Session};
|
||||
use matrix_sdk_test::{async_test, sync_response, EventBuilder, EventsJson, SyncResponseFile};
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use std::time::SystemTime;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
|
||||
Reference in New Issue
Block a user