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
test: Add a test for joining a MUC without a conference request. (#16537)
bgrozevebff46971d1c
diff --git a/tests/specs/jaas/joinMuc.spec.ts b/tests/specs/jaas/joinMuc.spec.tsindex 46652cfdf3..8216f573cc 100644--- a/tests/specs/jaas/joinMuc.spec.ts+++ b/tests/specs/jaas/joinMuc.spec.ts@@ -98,9 +98,16 @@ describe('XMPP login and MUC join', () => {}});- // it('without sending a conference-request', async () => {- // console.log('Joining a MUC without sending a conference-request');- // // TODO verify failure- // //expect(await joinMuc(ctx.roomName, 'p1', token)).toBe(true);- // });+ it('without sending a conference-request', async () => {+ console.log('Joining a MUC without sending a conference-request');+ const p = await joinJaasMuc({+ token: t({ room: `${ctx.roomName}-no-cf` })+ }, {+ configOverwrite: {+ disableFocus: true // this effectively disables the sending of a conference-request+ }+ });++ expect(Boolean(await p.isInMuc())).toBe(false);+ });});