aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/caps.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--filamento/src/caps.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/filamento/src/caps.rs b/filamento/src/caps.rs
index 819e669..46cd903 100644
--- a/filamento/src/caps.rs
+++ b/filamento/src/caps.rs
@@ -336,7 +336,7 @@ pub fn node_to_hash(node: String) -> Result<Hash, HashNodeConversionError> {
#[cfg(test)]
mod tests {
- use peanuts::{Writer, element::IntoElement};
+ use peanuts::{Writer, element::IntoElement, loggable::Loggable};
use stanza::{
xep_0004::{Field, FieldType, Value, X, XType},
xep_0030::info::{Feature, Identity},
@@ -344,6 +344,7 @@ mod tests {
use super::*;
+ #[cfg(not(target_arch = "wasm32"))]
#[tokio::test]
async fn test_caps() {
tracing_subscriber::fmt().init();
@@ -448,6 +449,7 @@ mod tests {
writer.write(&test_caps).await.unwrap();
}
+ #[cfg(not(target_arch = "wasm32"))]
#[tokio::test]
pub async fn test_gen_client_caps() {
let stdout = tokio::io::stdout();