@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.
@@ -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 = webex.meetings.config.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