@webex/plugin-meetings 3.11.0-next.4 → 3.11.0-next.6

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.
@@ -425,10 +425,7 @@ describe('plugin-meetings', () => {
425
425
 
426
426
  describe('#_toggleStopIceGatheringAfterFirstRelayCandidate', () => {
427
427
  it('should have _toggleStopIceGatheringAfterFirstRelayCandidate', () => {
428
- assert.equal(
429
- typeof webex.meetings._toggleStopIceGatheringAfterFirstRelayCandidate,
430
- 'function'
431
- );
428
+ assert.equal(typeof webex.meetings._toggleStopIceGatheringAfterFirstRelayCandidate, 'function');
432
429
  });
433
430
 
434
431
  describe('success', () => {
@@ -625,18 +622,6 @@ describe('plugin-meetings', () => {
625
622
  });
626
623
  });
627
624
 
628
- it('calls mercury.disconnect with code 3050 and reason to prevent auto-reconnect', (done) => {
629
- webex.meetings.registered = true;
630
- webex.meetings.unregister().then(() => {
631
- assert.calledOnce(webex.internal.mercury.disconnect);
632
- assert.calledWith(webex.internal.mercury.disconnect, {
633
- code: 3050,
634
- reason: 'meetings unregister',
635
- });
636
- done();
637
- });
638
- });
639
-
640
625
  it('rejects when device.unregister fails', async () => {
641
626
  webex.meetings.registered = true;
642
627
  webex.internal.device.unregister = sinon.stub().returns(Promise.reject());
@@ -933,7 +918,7 @@ describe('plugin-meetings', () => {
933
918
  locus: {
934
919
  url: url1,
935
920
  },
936
- hashTreeMessage: undefined,
921
+ hashTreeMessage: undefined
937
922
  });
938
923
  });
939
924
  });
@@ -1218,30 +1203,8 @@ describe('plugin-meetings', () => {
1218
1203
 
1219
1204
  it('calls createMeeting with classificationId and returns its promise', async () => {
1220
1205
  await checkCallCreateMeeting(
1221
- [
1222
- test1,
1223
- test2,
1224
- FAKE_USE_RANDOM_DELAY,
1225
- {},
1226
- undefined,
1227
- true,
1228
- callStateForMetrics,
1229
- undefined,
1230
- undefined,
1231
- undefined,
1232
- classificationId,
1233
- ],
1234
- [
1235
- test1,
1236
- test2,
1237
- FAKE_USE_RANDOM_DELAY,
1238
- {},
1239
- callStateForMetrics,
1240
- true,
1241
- undefined,
1242
- undefined,
1243
- classificationId,
1244
- ]
1206
+ [test1, test2, FAKE_USE_RANDOM_DELAY, {}, undefined, true, callStateForMetrics, undefined, undefined, undefined, classificationId],
1207
+ [test1, test2, FAKE_USE_RANDOM_DELAY, {}, callStateForMetrics, true, undefined, undefined, classificationId],
1245
1208
  );
1246
1209
  });
1247
1210
 
@@ -1474,7 +1437,7 @@ describe('plugin-meetings', () => {
1474
1437
  webExMeetingId,
1475
1438
  },
1476
1439
  },
1477
- hashTreeMessage: undefined,
1440
+ hashTreeMessage: undefined
1478
1441
  });
1479
1442
  });
1480
1443
  it('should setup the meeting from a hash tree event', async () => {
@@ -1544,7 +1507,7 @@ describe('plugin-meetings', () => {
1544
1507
  webExMeetingId,
1545
1508
  },
1546
1509
  },
1547
- hashTreeMessage: undefined,
1510
+ hashTreeMessage: undefined
1548
1511
  });
1549
1512
  });
1550
1513
 
@@ -1620,7 +1583,7 @@ describe('plugin-meetings', () => {
1620
1583
  webExMeetingId,
1621
1584
  },
1622
1585
  },
1623
- hashTreeMessage: undefined,
1586
+ hashTreeMessage: undefined
1624
1587
  });
1625
1588
  });
1626
1589