Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(tests): ensureTwoParticipants.
Hristo Terezov6bf4a4e91d38
diff --git a/tests/helpers/participants.ts b/tests/helpers/participants.tsindex 388d982905..f7e0b233cc 100644--- a/tests/helpers/participants.ts+++ b/tests/helpers/participants.ts@@ -163,13 +163,14 @@ export async function ensureTwoParticipants(ctx: IContext, options: IJoinOptionsconst { skipInMeetingChecks } = options;+ await _joinParticipant('participant2', ctx.p2, p => {+ ctx.p2 = p;+ }, {+ displayName: P2_DISPLAY_NAME,+ ...options+ });+await Promise.all([- _joinParticipant('participant2', ctx.p2, p => {- ctx.p2 = p;- }, {- displayName: P2_DISPLAY_NAME,- ...options- }),skipInMeetingChecks ? Promise.resolve() : ctx.p1.waitForRemoteStreams(1),skipInMeetingChecks ? Promise.resolve() : ctx.p2.waitForRemoteStreams(1)]);