@webex/plugin-meetings 3.0.0-beta.200 → 3.0.0-beta.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/constants.js +10 -4
- package/dist/constants.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +2 -5
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js +7 -1
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +3 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +214 -178
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/util.js +3 -1
- package/dist/meeting/util.js.map +1 -1
- package/dist/recording-controller/index.js +0 -1
- package/dist/recording-controller/index.js.map +1 -1
- package/dist/types/constants.d.ts +3 -0
- package/dist/types/locus-info/index.d.ts +1 -1
- package/dist/types/meeting/in-meeting-actions.d.ts +2 -0
- package/dist/types/meeting/index.d.ts +9 -0
- package/dist/types/recording-controller/index.d.ts +0 -1
- package/package.json +19 -19
- package/src/constants.ts +7 -0
- package/src/locus-info/index.ts +2 -3
- package/src/locus-info/infoUtils.ts +10 -2
- package/src/meeting/in-meeting-actions.ts +4 -0
- package/src/meeting/index.ts +247 -224
- package/src/meeting/util.ts +1 -1
- package/src/recording-controller/index.ts +0 -1
- package/test/unit/spec/locus-info/index.js +69 -2
- package/test/unit/spec/locus-info/infoUtils.js +37 -15
- package/test/unit/spec/meeting/in-meeting-actions.ts +2 -0
- package/test/unit/spec/meeting/index.js +255 -140
- package/test/unit/spec/meeting/utils.js +12 -8
- package/test/unit/spec/meetings/index.js +1 -1
|
@@ -775,10 +775,12 @@ describe('plugin-meetings', () => {
|
|
|
775
775
|
MeetingUtil.parseInterpretationInfo(meeting, meetingInfo);
|
|
776
776
|
assert.calledWith(meeting.simultaneousInterpretation.updateMeetingSIEnabled, true, true);
|
|
777
777
|
assert.calledWith(meeting.simultaneousInterpretation.updateHostSIEnabled, true);
|
|
778
|
-
assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation,
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
778
|
+
assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation, {
|
|
779
|
+
siLanguages: [
|
|
780
|
+
{ languageName: 'en', languageCode: 1 },
|
|
781
|
+
{ languageName: 'es', languageCode: 2 },
|
|
782
|
+
]
|
|
783
|
+
});
|
|
782
784
|
});
|
|
783
785
|
|
|
784
786
|
it('should update simultaneous interpretation settings with host SI disabled', () => {
|
|
@@ -787,10 +789,12 @@ describe('plugin-meetings', () => {
|
|
|
787
789
|
MeetingUtil.parseInterpretationInfo(meeting, meetingInfo);
|
|
788
790
|
assert.calledWith(meeting.simultaneousInterpretation.updateMeetingSIEnabled, true, false);
|
|
789
791
|
assert.calledWith(meeting.simultaneousInterpretation.updateHostSIEnabled, false);
|
|
790
|
-
assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation,
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation, {
|
|
793
|
+
siLanguages: [
|
|
794
|
+
{ languageName: 'en', languageCode: 1 },
|
|
795
|
+
{ languageName: 'es', languageCode: 2 },
|
|
796
|
+
]
|
|
797
|
+
});
|
|
794
798
|
});
|
|
795
799
|
it('should update simultaneous interpretation settings with SI disabled', () => {
|
|
796
800
|
meetingInfo.turnOnSimultaneousInterpretation = false;
|
|
@@ -1088,7 +1088,7 @@ describe('plugin-meetings', () => {
|
|
|
1088
1088
|
assert.calledOnce(webex.meetings.meetingInfo.fetchMeetingInfo);
|
|
1089
1089
|
assert.calledOnce(MeetingsUtil.getMeetingAddedType);
|
|
1090
1090
|
assert.notCalled(setTimeoutSpy);
|
|
1091
|
-
assert.callCount(TriggerProxy.trigger,
|
|
1091
|
+
assert.callCount(TriggerProxy.trigger, 5);
|
|
1092
1092
|
assert.calledWith(webex.meetings.meetingInfo.fetchMeetingInfo, destination, type, null, null, undefined, undefined, extraParams, {meetingId: meeting.id});
|
|
1093
1093
|
assert.calledWith(MeetingsUtil.getMeetingAddedType, 'test type');
|
|
1094
1094
|
|