From daca2c66109e0e5f789bb15f61daf11f252a79fb Mon Sep 17 00:00:00 2001 From: Darius Date: Tue, 24 Oct 2023 16:40:38 -0400 Subject: [PATCH] chore: Subscribe to logging for chat in test --- extensions/warp-ipfs/tests/common.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/warp-ipfs/tests/common.rs b/extensions/warp-ipfs/tests/common.rs index f9b9ffe63..ecf71b16e 100644 --- a/extensions/warp-ipfs/tests/common.rs +++ b/extensions/warp-ipfs/tests/common.rs @@ -139,6 +139,11 @@ pub async fn create_account_and_chat( pub async fn create_accounts_and_chat( infos: Vec<(Option<&str>, Option<&str>, Option)>, ) -> anyhow::Result, Box, DID, Identity)>> { + tracing_subscriber::registry() + .with(fmt::layer().pretty()) + .with(EnvFilter::from_default_env()) + .init(); + let mut accounts = vec![]; let mut nodes = vec![]; for (username, passphrase, context) in infos {