Skip to content

Commit

Permalink
don't run tokio tests on wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Dec 12, 2024
1 parent 0f9c929 commit 6dd773e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ where
}
}

#[cfg(test)]
#[cfg(all(test, not(target_family = "wasm")))]
mod tests {
use candid::Principal;
use reqwest::Client;
Expand Down
1 change: 1 addition & 0 deletions ic-agent/src/agent/route_provider/dynamic_routing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub mod nodes_fetch;
/// Routing snapshot implementation.
pub mod snapshot;
#[cfg(test)]
#[cfg_attr(target_family = "wasm", allow(unused))]
pub(super) mod test_utils;
/// Type aliases used in dynamic routing.
pub(super) mod type_aliases;

0 comments on commit 6dd773e

Please sign in to comment.