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: Set asyncTranscriptionWebhook=true by default. (#17279)
bgrozevdb49f6fd453d
diff --git a/tests/helpers/expectations.ts b/tests/helpers/expectations.tsindex 08bbeb03be..6516d63190 100644--- a/tests/helpers/expectations.ts+++ b/tests/helpers/expectations.ts@@ -30,7 +30,7 @@ const defaultExpectations = {// Expect "async" transcription to be enabled.asyncTranscription: true,// Expect the JaaS transcription webhooks to fire in "async" mode.- asyncTranscriptionWebhook: false+ asyncTranscriptionWebhook: true},/*** Whether the jaas account is configured with the account-level setting to allow unauthenticated users to join.diff --git a/tests/specs/jaas/transcriptions.spec.ts b/tests/specs/jaas/transcriptions.spec.tsindex 9455f220cd..8a6b3aadbe 100644--- a/tests/specs/jaas/transcriptions.spec.ts+++ b/tests/specs/jaas/transcriptions.spec.ts@@ -228,8 +228,9 @@ async function checkReceivingChunks(p1: Participant, p2: Participant, webhooksPrconst webhookTranscript = event.data.final;expect(webhookTranscript.includes(p1Transcript) || p1Transcript.includes(webhookTranscript)).toBe(true);- expect(event.data.language).toBe(p1Event.data.language);- expect(event.data.messageID).toBe(p1Event.data.messageID);+ if (p1Event.data.language) {+ expect(event.data.language).toBe(p1Event.data.language);+ }expect(event.data.participant.id).toBe(p1Id);if (!asyncTranscription) {expect(event.data.participant.name).toBe(p1.name);