Introduce a TestClient and associate it with a PeerId
This makes it easier to integration test peer interactions because now we know their PeerIds.
This commit is contained in:
parent
b307a7e91d
commit
4bd43e67ef
3 changed files with 156 additions and 96 deletions
|
@ -63,6 +63,7 @@ pub enum Event {
|
|||
Closed,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Collaborator {
|
||||
pub user: Arc<User>,
|
||||
pub peer_id: PeerId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue