Doc Integration tests

This commit is contained in:
Jazz Turner-Baggs
2026-04-28 16:40:18 -07:00
parent 7ceb15b763
commit ea06cf5186
2 changed files with 12 additions and 22 deletions
-22
View File
@@ -1,23 +1 @@
// use std::ops::{Deref, DerefMut};
// use components::{EphemeralRegistry, LocalBroadcaster, MemStore};
// use libchat::{
// AddressedEnvelope, ChatStorage, ContentData, Context, ConversationIdOwned, Introduction,
// StorageConfig,
// };
// fn send_and_verify(
// sender: &mut Context<LocalBroadcaster, EphemeralRegistry, ChatStorage>,
// receiver: &mut Context<LocalBroadcaster, EphemeralRegistry, ChatStorage>,
// convo_id: &str,
// content: &[u8],
// ) {
// let payloads = sender.send_content(convo_id, content).unwrap();
// let payload = payloads.first().unwrap();
// let received = receiver
// .handle_payload(&payload.data)
// .unwrap()
// .expect("expected content");
// assert_eq!(content, received.data.as_slice());
// assert!(!received.is_new_convo);
// }