@webex/calling 3.0.0-next.15 → 3.0.0-next.17

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.
@@ -38,6 +38,7 @@ describe('CallingClient Tests', function () {
38
38
 
39
39
  var handleErrorSpy = jest.spyOn(utils, 'handleCallingClientErrors');
40
40
  var webex = (0, _testUtil.getTestUtilsWebex)();
41
+ webex.internal.services['_hostCatalog'] = _callingClientFixtures.mockCatalogUS;
41
42
  var defaultServiceIndicator = _types2.ServiceIndicator.CALLING;
42
43
  var callManager = (0, _callManager.getCallManager)(webex, defaultServiceIndicator);
43
44
  var logSpy = jest.spyOn(_Logger.default, 'info');
@@ -377,7 +378,7 @@ describe('CallingClient Tests', function () {
377
378
  expect(webex.request).nthCalledWith(1, _objectSpread(_objectSpread({
378
379
  method: 'GET'
379
380
  }, (0, _testUtil.getMockRequestTemplate)()), {}, {
380
- uri: "".concat(_callingClientFixtures.uri, "myip")
381
+ uri: "".concat(callingClient['mobiusHost']).concat(_constants.URL_ENDPOINT).concat(_constants.IP_ENDPOINT)
381
382
  }));
382
383
  expect(webex.request).nthCalledWith(2, {
383
384
  method: 'GET',
@@ -388,7 +389,7 @@ describe('CallingClient Tests', function () {
388
389
  expect(webex.request).nthCalledWith(3, _objectSpread(_objectSpread({
389
390
  method: 'GET'
390
391
  }, (0, _testUtil.getMockRequestTemplate)()), {}, {
391
- uri: "".concat(_callingClientFixtures.uri, "?regionCode=").concat(_callingClientFixtures.regionBody.clientRegion, "&countryCode=").concat(_callingClientFixtures.regionBody.countryCode)
392
+ uri: "".concat(callingClient['mobiusHost']).concat(_constants.URL_ENDPOINT, "?regionCode=").concat(_callingClientFixtures.regionBody.clientRegion, "&countryCode=").concat(_callingClientFixtures.regionBody.countryCode)
392
393
  }));
393
394
  case 10:
394
395
  case "end":
@@ -413,22 +414,29 @@ describe('CallingClient Tests', function () {
413
414
  });
414
415
  case 4:
415
416
  callingClient = _context14.sent;
416
- expect(handleErrorSpy).toBeCalledOnceWith(failurePayload, expect.anything(), {
417
- file: _constants.CALLING_CLIENT_FILE,
418
- method: 'getMobiusServers'
419
- });
420
- expect(webex.request).toBeCalledOnceWith(_objectSpread(_objectSpread({}, (0, _testUtil.getMockRequestTemplate)()), {}, {
421
- uri: "".concat(_callingClientFixtures.uri, "myip"),
417
+ expect(webex.request).nthCalledWith(1, _objectSpread(_objectSpread({}, (0, _testUtil.getMockRequestTemplate)()), {}, {
418
+ uri: 'https://mobius-us-east-1.prod.infra.webex.com/api/v1/calling/web/myip',
422
419
  method: 'GET'
423
420
  }));
424
- expect(callingClient.primaryMobiusUris).toEqual([_callingClientFixtures.uri]);
425
- expect(webex.request).nthCalledWith(1, _objectSpread(_objectSpread({
421
+ expect(webex.request).nthCalledWith(2, _objectSpread(_objectSpread({}, (0, _testUtil.getMockRequestTemplate)()), {}, {
422
+ uri: 'https://mobius-ca-central-1.prod.infra.webex.com/api/v1/calling/web/myip',
426
423
  method: 'GET'
427
- }, (0, _testUtil.getMockRequestTemplate)()), {}, {
428
- uri: "".concat(_callingClientFixtures.uri, "myip")
429
424
  }));
430
- expect(warnSpy).toBeCalledWith('Error in finding Mobius Servers. Will use the default URL.', '');
431
- case 10:
425
+ expect(webex.request).nthCalledWith(3, _objectSpread(_objectSpread({}, (0, _testUtil.getMockRequestTemplate)()), {}, {
426
+ uri: 'https://mobius-eu-central-1.prod.infra.webex.com/api/v1/calling/web/myip',
427
+ method: 'GET'
428
+ }));
429
+ expect(webex.request).nthCalledWith(4, _objectSpread(_objectSpread({}, (0, _testUtil.getMockRequestTemplate)()), {}, {
430
+ uri: 'https://mobius-ap-southeast-2.prod.infra.webex.com/api/v1/calling/web/myip',
431
+ method: 'GET'
432
+ }));
433
+ expect(handleErrorSpy).toBeCalledWith(failurePayload, expect.anything(), {
434
+ file: _constants.CALLING_CLIENT_FILE,
435
+ method: 'getMobiusServers'
436
+ });
437
+ expect(callingClient.primaryMobiusUris).toEqual(["".concat(callingClient['mobiusHost']).concat(_constants.URL_ENDPOINT)]);
438
+ expect(warnSpy).toBeCalledWith("Couldn't resolve the region and country code. Defaulting to the catalog entries to discover mobius servers", '');
439
+ case 12:
432
440
  case "end":
433
441
  return _context14.stop();
434
442
  }
@@ -456,11 +464,11 @@ describe('CallingClient Tests', function () {
456
464
  method: 'getMobiusServers'
457
465
  });
458
466
  expect(webex.request).toBeCalledTimes(3);
459
- expect(callingClient.primaryMobiusUris).toEqual([_callingClientFixtures.uri]);
467
+ expect(callingClient.primaryMobiusUris).toEqual(["".concat(callingClient['mobiusHost']).concat(_constants.URL_ENDPOINT)]);
460
468
  expect(webex.request).nthCalledWith(1, _objectSpread(_objectSpread({
461
469
  method: 'GET'
462
470
  }, (0, _testUtil.getMockRequestTemplate)()), {}, {
463
- uri: "".concat(_callingClientFixtures.uri, "myip")
471
+ uri: "".concat(callingClient['mobiusHost']).concat(_constants.URL_ENDPOINT).concat(_constants.IP_ENDPOINT)
464
472
  }));
465
473
  expect(webex.request).nthCalledWith(2, {
466
474
  method: 'GET',
@@ -468,7 +476,7 @@ describe('CallingClient Tests', function () {
468
476
  addAuthHeader: false,
469
477
  headers: (0, _defineProperty2.default)({}, _constants.SPARK_USER_AGENT, null)
470
478
  });
471
- expect(warnSpy).toBeCalledWith('Error in finding Mobius Servers. Will use the default URL.', '');
479
+ expect(warnSpy).toBeCalledWith("Couldn't resolve the region and country code. Defaulting to the catalog entries to discover mobius servers", '');
472
480
  case 11:
473
481
  case "end":
474
482
  return _context15.stop();
@@ -500,7 +508,7 @@ describe('CallingClient Tests', function () {
500
508
  method: 'getMobiusServers'
501
509
  });
502
510
  expect(webex.request).toBeCalledOnceWith(_objectSpread(_objectSpread({}, (0, _testUtil.getMockRequestTemplate)()), {}, {
503
- uri: "".concat(_callingClientFixtures.uri, "?regionCode=").concat(_callingClientFixtures.regionBody.clientRegion, "&countryCode=").concat(_callingClientFixtures.regionBody.countryCode),
511
+ uri: "".concat(callingClient['mobiusHost']).concat(_constants.URL_ENDPOINT, "?regionCode=").concat(_callingClientFixtures.regionBody.clientRegion, "&countryCode=").concat(_callingClientFixtures.regionBody.countryCode),
504
512
  method: 'GET'
505
513
  }));
506
514
  expect(handleErrorSpy).not.toBeCalled();
@@ -511,6 +519,64 @@ describe('CallingClient Tests', function () {
511
519
  }, _callee16);
512
520
  })));
513
521
  });
522
+ describe('Testing each cluster present withing host catalog', function () {
523
+ var mobiusCluster = ['mobius-eu-central-1.prod.infra.webex.com', 'mobius-us-east-1.int.infra.webex.com', 'mobius-eu-central-1.int.infra.webex.com'];
524
+ var checkCluster = /*#__PURE__*/function () {
525
+ var _ref17 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17(mockServiceHosts, mockCatalog) {
526
+ var callingClient;
527
+ return _regenerator.default.wrap(function _callee17$(_context17) {
528
+ while (1) switch (_context17.prev = _context17.next) {
529
+ case 0:
530
+ webex.internal.services._hostCatalog = mockCatalog;
531
+ _context17.next = 3;
532
+ return (0, _CallingClient.createClient)(webex, {
533
+ logger: {
534
+ level: _types.LOGGER.INFO
535
+ }
536
+ });
537
+ case 3:
538
+ callingClient = _context17.sent;
539
+ expect(callingClient['mobiusClusters']).toStrictEqual(mockServiceHosts);
540
+ case 5:
541
+ case "end":
542
+ return _context17.stop();
543
+ }
544
+ }, _callee17);
545
+ }));
546
+ return function checkCluster(_x, _x2) {
547
+ return _ref17.apply(this, arguments);
548
+ };
549
+ }();
550
+ it.each(mobiusCluster)('%s', /*#__PURE__*/function () {
551
+ var _ref18 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(clusterName) {
552
+ return _regenerator.default.wrap(function _callee18$(_context18) {
553
+ while (1) switch (_context18.prev = _context18.next) {
554
+ case 0:
555
+ _context18.t0 = clusterName;
556
+ _context18.next = _context18.t0 === 'mobius-eu-central-1.prod.infra.webex.com' ? 3 : _context18.t0 === 'mobius-us-east-1.int.infra.webex.com' ? 5 : _context18.t0 === 'mobius-eu-central-1.int.infra.webex.com' ? 7 : 9;
557
+ break;
558
+ case 3:
559
+ checkCluster(_callingClientFixtures.mockEUServiceHosts, _callingClientFixtures.mockCatalogEU);
560
+ return _context18.abrupt("break", 10);
561
+ case 5:
562
+ checkCluster(_callingClientFixtures.mockIntServiceHosts, _callingClientFixtures.mockCatalogUSInt);
563
+ return _context18.abrupt("break", 10);
564
+ case 7:
565
+ checkCluster(_callingClientFixtures.mockEUIntServiceHosts, _callingClientFixtures.mockCatalogEUInt);
566
+ return _context18.abrupt("break", 10);
567
+ case 9:
568
+ return _context18.abrupt("break", 10);
569
+ case 10:
570
+ case "end":
571
+ return _context18.stop();
572
+ }
573
+ }, _callee18);
574
+ }));
575
+ return function (_x3) {
576
+ return _ref18.apply(this, arguments);
577
+ };
578
+ }());
579
+ });
514
580
  describe('Network activity detection tests', function () {
515
581
  var callingClient;
516
582
  var line;
@@ -519,23 +585,23 @@ describe('CallingClient Tests', function () {
519
585
  var restoreSpy;
520
586
  var restartRegisterSpy;
521
587
  var registerSpy;
522
- beforeEach( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
523
- return _regenerator.default.wrap(function _callee17$(_context17) {
524
- while (1) switch (_context17.prev = _context17.next) {
588
+ beforeEach( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
589
+ return _regenerator.default.wrap(function _callee19$(_context19) {
590
+ while (1) switch (_context19.prev = _context19.next) {
525
591
  case 0:
526
592
  jest.useFakeTimers();
527
593
  webex.request.mockResolvedValueOnce(_callingClientFixtures.ipPayload).mockResolvedValueOnce(_callingClientFixtures.regionPayload).mockResolvedValueOnce(_callingClientFixtures.discoveryPayload).mockResolvedValueOnce(_callingClientFixtures.registrationPayload);
528
- _context17.next = 4;
594
+ _context19.next = 4;
529
595
  return (0, _CallingClient.createClient)(webex, {
530
596
  logger: {
531
597
  level: _types.LOGGER.INFO
532
598
  }
533
599
  });
534
600
  case 4:
535
- callingClient = _context17.sent;
601
+ callingClient = _context19.sent;
536
602
  line = (0, _values.default)(callingClient.lineDict)[0];
537
603
  reg = line.registration;
538
- _context17.next = 9;
604
+ _context19.next = 9;
539
605
  return line.register();
540
606
  case 9:
541
607
  deRegSpy = jest.spyOn(line.registration, 'deregister');
@@ -544,9 +610,9 @@ describe('CallingClient Tests', function () {
544
610
  registerSpy = jest.spyOn(reg, 'attemptRegistrationWithServers');
545
611
  case 13:
546
612
  case "end":
547
- return _context17.stop();
613
+ return _context19.stop();
548
614
  }
549
- }, _callee17);
615
+ }, _callee19);
550
616
  })));
551
617
  afterEach(function () {
552
618
  jest.clearAllTimers();
@@ -556,9 +622,9 @@ describe('CallingClient Tests', function () {
556
622
  callingClient = undefined;
557
623
  jest.useRealTimers();
558
624
  });
559
- it('detect a network flap in mercury connection', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
560
- return _regenerator.default.wrap(function _callee18$(_context18) {
561
- while (1) switch (_context18.prev = _context18.next) {
625
+ it('detect a network flap in mercury connection', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20() {
626
+ return _regenerator.default.wrap(function _callee20$(_context20) {
627
+ while (1) switch (_context20.prev = _context20.next) {
562
628
  case 0:
563
629
  expect(line.getStatus()).toEqual(_types2.RegistrationStatus.ACTIVE);
564
630
 
@@ -575,7 +641,7 @@ describe('CallingClient Tests', function () {
575
641
  /* Set mercury connection to be up and execute a delay of 2.5 seconds */
576
642
  webex.internal.mercury.connected = true;
577
643
  jest.advanceTimersByTime(_constants.NETWORK_FLAP_TIMEOUT + 500);
578
- _context18.next = 8;
644
+ _context20.next = 8;
579
645
  return flushPromises();
580
646
  case 8:
581
647
  /* We should be detecting the network recovery */
@@ -590,14 +656,14 @@ describe('CallingClient Tests', function () {
590
656
  expect(registerSpy).lastCalledWith('handleConnectionRestoration', [_callingClientFixtures.primaryUrl]);
591
657
  case 14:
592
658
  case "end":
593
- return _context18.stop();
659
+ return _context20.stop();
594
660
  }
595
- }, _callee18);
661
+ }, _callee20);
596
662
  })));
597
- it('Simulate a network flap with no active calls and re-verify registration: Restore Failure', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
663
+ it('Simulate a network flap with no active calls and re-verify registration: Restore Failure', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
598
664
  var failurePayload, mockRegistrationBody, successPayload;
599
- return _regenerator.default.wrap(function _callee19$(_context19) {
600
- while (1) switch (_context19.prev = _context19.next) {
665
+ return _regenerator.default.wrap(function _callee21$(_context21) {
666
+ while (1) switch (_context21.prev = _context21.next) {
601
667
  case 0:
602
668
  expect(line.getStatus()).toEqual(_types2.RegistrationStatus.ACTIVE);
603
669
  failurePayload = {
@@ -624,7 +690,7 @@ describe('CallingClient Tests', function () {
624
690
  /* Set mercury connection to be up and execute a delay of 2.5 seconds */
625
691
  webex.internal.mercury.connected = true;
626
692
  jest.advanceTimersByTime(_constants.NETWORK_FLAP_TIMEOUT + 500);
627
- _context19.next = 12;
693
+ _context21.next = 12;
628
694
  return flushPromises();
629
695
  case 12:
630
696
  /* We should be detecting the network recovery */
@@ -639,14 +705,14 @@ describe('CallingClient Tests', function () {
639
705
  expect(registerSpy).lastCalledWith('handleConnectionRestoration', [_callingClientFixtures.primaryUrl]);
640
706
  case 18:
641
707
  case "end":
642
- return _context19.stop();
708
+ return _context21.stop();
643
709
  }
644
- }, _callee19);
710
+ }, _callee21);
645
711
  })));
646
- it('Simulate a network flap before initial registration is done', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20() {
712
+ it('Simulate a network flap before initial registration is done', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
647
713
  var handleConnectionRestoreSpy;
648
- return _regenerator.default.wrap(function _callee20$(_context20) {
649
- while (1) switch (_context20.prev = _context20.next) {
714
+ return _regenerator.default.wrap(function _callee22$(_context22) {
715
+ while (1) switch (_context22.prev = _context22.next) {
650
716
  case 0:
651
717
  handleConnectionRestoreSpy = jest.spyOn(reg, 'handleConnectionRestoration');
652
718
  reg.setStatus(_types2.RegistrationStatus.IDLE);
@@ -664,7 +730,7 @@ describe('CallingClient Tests', function () {
664
730
  /* Set mercury connection to be up and execute a delay of 2.5 seconds */
665
731
  webex.internal.mercury.connected = true;
666
732
  jest.advanceTimersByTime(_constants.NETWORK_FLAP_TIMEOUT + 500);
667
- _context20.next = 9;
733
+ _context22.next = 9;
668
734
  return flushPromises();
669
735
  case 9:
670
736
  /* We should be detecting the network recovery */
@@ -680,13 +746,13 @@ describe('CallingClient Tests', function () {
680
746
  expect(handleConnectionRestoreSpy).not.toBeCalledOnceWith();
681
747
  case 11:
682
748
  case "end":
683
- return _context20.stop();
749
+ return _context22.stop();
684
750
  }
685
- }, _callee20);
751
+ }, _callee22);
686
752
  })));
687
- it('Simulate a network flap with 1 active call', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
688
- return _regenerator.default.wrap(function _callee21$(_context21) {
689
- while (1) switch (_context21.prev = _context21.next) {
753
+ it('Simulate a network flap with 1 active call', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
754
+ return _regenerator.default.wrap(function _callee23$(_context23) {
755
+ while (1) switch (_context23.prev = _context23.next) {
690
756
  case 0:
691
757
  expect(line.getStatus()).toEqual(_types2.RegistrationStatus.ACTIVE);
692
758
 
@@ -697,7 +763,7 @@ describe('CallingClient Tests', function () {
697
763
  /* Set mercury connection to be down and execute a delay of 2.5 seconds */
698
764
  webex.internal.mercury.connected = false;
699
765
  jest.advanceTimersByTime(_constants.NETWORK_FLAP_TIMEOUT + 500);
700
- _context21.next = 7;
766
+ _context23.next = 7;
701
767
  return flushPromises();
702
768
  case 7:
703
769
  /* We should be detecting the network flap */
@@ -709,7 +775,7 @@ describe('CallingClient Tests', function () {
709
775
  /* Set mercury connection to be up and execute a delay of 2.5 seconds */
710
776
  webex.internal.mercury.connected = true;
711
777
  jest.advanceTimersByTime(_constants.NETWORK_FLAP_TIMEOUT + 500);
712
- _context21.next = 12;
778
+ _context23.next = 12;
713
779
  return flushPromises();
714
780
  case 12:
715
781
  /* We should be detecting the network recovery */
@@ -720,28 +786,28 @@ describe('CallingClient Tests', function () {
720
786
  expect(registerSpy).not.toBeCalledWith(true);
721
787
  case 14:
722
788
  case "end":
723
- return _context21.stop();
789
+ return _context23.stop();
724
790
  }
725
- }, _callee21);
791
+ }, _callee23);
726
792
  })));
727
793
  });
728
794
  describe('Line creation tests', function () {
729
795
  var callingClient;
730
796
  var line;
731
- beforeEach( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
732
- return _regenerator.default.wrap(function _callee22$(_context22) {
733
- while (1) switch (_context22.prev = _context22.next) {
797
+ beforeEach( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
798
+ return _regenerator.default.wrap(function _callee24$(_context24) {
799
+ while (1) switch (_context24.prev = _context24.next) {
734
800
  case 0:
735
- _context22.next = 2;
801
+ _context24.next = 2;
736
802
  return (0, _CallingClient.createClient)(webex);
737
803
  case 2:
738
- callingClient = _context22.sent;
804
+ callingClient = _context24.sent;
739
805
  line = (0, _values.default)(callingClient.lineDict)[0];
740
806
  case 4:
741
807
  case "end":
742
- return _context22.stop();
808
+ return _context24.stop();
743
809
  }
744
- }, _callee22);
810
+ }, _callee24);
745
811
  })));
746
812
  afterEach(function () {
747
813
  jest.clearAllTimers();
@@ -776,15 +842,15 @@ describe('CallingClient Tests', function () {
776
842
  });
777
843
  var callingClient;
778
844
  var line;
779
- beforeAll( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
845
+ beforeAll( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25() {
780
846
  var calls;
781
- return _regenerator.default.wrap(function _callee23$(_context23) {
782
- while (1) switch (_context23.prev = _context23.next) {
847
+ return _regenerator.default.wrap(function _callee25$(_context25) {
848
+ while (1) switch (_context25.prev = _context25.next) {
783
849
  case 0:
784
- _context23.next = 2;
850
+ _context25.next = 2;
785
851
  return (0, _CallingClient.createClient)(webex);
786
852
  case 2:
787
- callingClient = _context23.sent;
853
+ callingClient = _context25.sent;
788
854
  line = new _line.default(userId, clientDeviceUri, mutex, primaryMobiusUris(), backupMobiusUris(), _types.LOGGER.INFO);
789
855
  calls = (0, _values.default)(callManager.getActiveCalls());
790
856
  calls.forEach(function (call) {
@@ -792,9 +858,9 @@ describe('CallingClient Tests', function () {
792
858
  });
793
859
  case 6:
794
860
  case "end":
795
- return _context23.stop();
861
+ return _context25.stop();
796
862
  }
797
- }, _callee23);
863
+ }, _callee25);
798
864
  })));
799
865
  afterAll(function () {
800
866
  callingClient.removeAllListeners();
@@ -877,23 +943,23 @@ describe('CallingClient Tests', function () {
877
943
  describe('Call Session Event test', function () {
878
944
  var mockOn = webex.internal.mercury.on;
879
945
  var callingClient;
880
- beforeEach( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
881
- return _regenerator.default.wrap(function _callee24$(_context24) {
882
- while (1) switch (_context24.prev = _context24.next) {
946
+ beforeEach( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26() {
947
+ return _regenerator.default.wrap(function _callee26$(_context26) {
948
+ while (1) switch (_context26.prev = _context26.next) {
883
949
  case 0:
884
- _context24.next = 2;
950
+ _context26.next = 2;
885
951
  return (0, _CallingClient.createClient)(webex, {
886
952
  logger: {
887
953
  level: _types.LOGGER.INFO
888
954
  }
889
955
  });
890
956
  case 2:
891
- callingClient = _context24.sent;
957
+ callingClient = _context26.sent;
892
958
  case 3:
893
959
  case "end":
894
- return _context24.stop();
960
+ return _context26.stop();
895
961
  }
896
- }, _callee24);
962
+ }, _callee26);
897
963
  })));
898
964
  afterEach(function () {
899
965
  callingClient.removeAllListeners();