@webex/calling 3.11.0-next.1 → 3.11.0-next.2

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.
@@ -12,7 +12,7 @@ var _now = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/date/n
12
12
  var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify"));
13
13
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/asyncToGenerator"));
14
14
  var InternalMediaCoreModule = _interopRequireWildcard(require("@webex/internal-media-core"));
15
- var _webMediaEffects = require("@webex/web-media-effects");
15
+ var _mediaHelpers = require("@webex/media-helpers");
16
16
  var _types = require("../../Errors/types");
17
17
  var _Utils = _interopRequireWildcard(require("../../common/Utils"));
18
18
  var Utils = _Utils;
@@ -463,8 +463,8 @@ describe('Call Tests', function () {
463
463
  bnrMetricSpy.mockClear();
464
464
  /* Invoking the callback function to trigger EffectAdded event to simulate adding effect to the stream */
465
465
  onStreamSpy.mock.calls[1][1](mockEffect);
466
- expect(onEffectSpy).toBeCalledWith(_webMediaEffects.EffectEvent.Enabled, expect.any(Function));
467
- expect(onEffectSpy).toBeCalledWith(_webMediaEffects.EffectEvent.Disabled, expect.any(Function));
466
+ expect(onEffectSpy).toBeCalledWith(_mediaHelpers.EffectEvent.Enabled, expect.any(Function));
467
+ expect(onEffectSpy).toBeCalledWith(_mediaHelpers.EffectEvent.Disabled, expect.any(Function));
468
468
 
469
469
  /* Send Enabled event on the effect, update track and send metrics for BNR disabled */
470
470
  onStreamSpy.mock.calls[0][1](mockTrack);
@@ -494,8 +494,8 @@ describe('Call Tests', function () {
494
494
  expect(offStreamSpy).toBeCalledTimes(2);
495
495
  expect(offStreamSpy).toBeCalledWith(InternalMediaCoreModule.LocalStreamEventNames.OutputTrackChange, expect.any(Function));
496
496
  expect(offStreamSpy).toBeCalledWith(InternalMediaCoreModule.LocalStreamEventNames.EffectAdded, expect.any(Function));
497
- expect(offEffectSpy).toBeCalledWith(_webMediaEffects.EffectEvent.Enabled, expect.any(Function));
498
- expect(offEffectSpy).toBeCalledWith(_webMediaEffects.EffectEvent.Disabled, expect.any(Function));
497
+ expect(offEffectSpy).toBeCalledWith(_mediaHelpers.EffectEvent.Enabled, expect.any(Function));
498
+ expect(offEffectSpy).toBeCalledWith(_mediaHelpers.EffectEvent.Disabled, expect.any(Function));
499
499
  case 2:
500
500
  case "end":
501
501
  return _context9.stop();