Skip to content

Commit

Permalink
chore: Subscribe to logging for chat in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Oct 24, 2023
1 parent f56bb2a commit daca2c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extensions/warp-ipfs/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>)>,
) -> anyhow::Result<Vec<(Box<dyn MultiPass>, Box<dyn RayGun>, 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 {
Expand Down

0 comments on commit daca2c6

Please sign in to comment.