@webex/plugin-meetings 3.8.0-next.27 → 3.8.0-next.29
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/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting-info/meeting-info-v2.js +271 -60
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meetings/index.js +40 -0
- package/dist/meetings/index.js.map +1 -1
- package/dist/metrics/constants.js +6 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +57 -0
- package/dist/types/meetings/index.d.ts +21 -1
- package/dist/types/metrics/constants.d.ts +6 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +3 -3
- package/src/meeting-info/meeting-info-v2.ts +175 -6
- package/src/meetings/index.ts +48 -0
- package/src/metrics/constants.ts +6 -0
- package/test/unit/spec/meeting-info/meetinginfov2.js +361 -114
- package/test/unit/spec/meetings/index.js +44 -1
|
@@ -285,7 +285,8 @@ describe('plugin-meetings', () => {
|
|
|
285
285
|
|
|
286
286
|
describe('failure', () => {
|
|
287
287
|
it('should not accept non-number input', () => {
|
|
288
|
-
const logUploadIntervalMultiplicationFactor =
|
|
288
|
+
const logUploadIntervalMultiplicationFactor =
|
|
289
|
+
webex.meetings.config.logUploadIntervalMultiplicationFactor;
|
|
289
290
|
|
|
290
291
|
webex.meetings._setLogUploadIntervalMultiplicationFactor('test');
|
|
291
292
|
assert.equal(
|
|
@@ -931,6 +932,48 @@ describe('plugin-meetings', () => {
|
|
|
931
932
|
});
|
|
932
933
|
});
|
|
933
934
|
});
|
|
935
|
+
describe('#enableStaticMeetingLink', () => {
|
|
936
|
+
const conversationUrl = 'conv.fakeconversationurl.com';
|
|
937
|
+
|
|
938
|
+
afterEach(() => {
|
|
939
|
+
sinon.restore();
|
|
940
|
+
});
|
|
941
|
+
|
|
942
|
+
it('should have #enableStaticMeetingLink', () => {
|
|
943
|
+
assert.exists(webex.meetings.enableStaticMeetingLink);
|
|
944
|
+
});
|
|
945
|
+
|
|
946
|
+
it('should call MeetingInfo#enableStaticMeetingLink() with proper params', () => {
|
|
947
|
+
webex.meetings.meetingInfo.enableStaticMeetingLink = sinon
|
|
948
|
+
.stub()
|
|
949
|
+
.resolves(conversationUrl);
|
|
950
|
+
|
|
951
|
+
return webex.meetings.enableStaticMeetingLink(conversationUrl).then(() => {
|
|
952
|
+
assert.calledWith(webex.meetings.meetingInfo.enableStaticMeetingLink, conversationUrl);
|
|
953
|
+
});
|
|
954
|
+
});
|
|
955
|
+
});
|
|
956
|
+
describe('#disableStaticMeetingLink', () => {
|
|
957
|
+
const conversationUrl = 'conv.fakeconversationurl.com';
|
|
958
|
+
|
|
959
|
+
afterEach(() => {
|
|
960
|
+
sinon.restore();
|
|
961
|
+
});
|
|
962
|
+
|
|
963
|
+
it('should have #disableStaticMeetingLink', () => {
|
|
964
|
+
assert.exists(webex.meetings.disableStaticMeetingLink);
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
it('should call MeetingInfo#disableStaticMeetingLink() with proper params', () => {
|
|
968
|
+
webex.meetings.meetingInfo.disableStaticMeetingLink = sinon
|
|
969
|
+
.stub()
|
|
970
|
+
.resolves(conversationUrl);
|
|
971
|
+
|
|
972
|
+
return webex.meetings.disableStaticMeetingLink(conversationUrl).then(() => {
|
|
973
|
+
assert.calledWith(webex.meetings.meetingInfo.disableStaticMeetingLink, conversationUrl);
|
|
974
|
+
});
|
|
975
|
+
});
|
|
976
|
+
});
|
|
934
977
|
describe('#create', () => {
|
|
935
978
|
let infoOptions;
|
|
936
979
|
|