Ensure we can send a second frame

This commit is contained in:
Nathan Sobo 2022-10-19 19:21:09 -06:00
parent 723fa83909
commit 69472f7823

View File

@ -228,6 +228,10 @@ async fn test_basic_calls(
panic!("unexpected event") panic!("unexpected event")
} }
display.send_frame(frame.clone());
deterministic.run_until_parked();
assert_eq!(events_b.borrow().len(), 2);
// User A leaves the room. // User A leaves the room.
active_call_a.update(cx_a, |call, cx| { active_call_a.update(cx_a, |call, cx| {
call.hang_up(cx).unwrap(); call.hang_up(cx).unwrap();