@webex/plugin-meetings 3.0.0-beta.185 → 3.0.0-beta.186

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.
@@ -37,7 +37,7 @@ describe('plugin-meetings', () => {
37
37
  unmuteVideoAllowed: true,
38
38
 
39
39
  locusInfo: {
40
- onDeltaLocus: sinon.stub(),
40
+ handleLocusDelta: sinon.stub(),
41
41
  },
42
42
  members: {
43
43
  selfId: 'fake self id',
@@ -179,10 +179,10 @@ describe('plugin-meetings', () => {
179
179
  });
180
180
 
181
181
  describe('updateLocusWithDelta', () => {
182
- it('should call onDeltaLocus with the new delta locus', () => {
182
+ it('should call handleLocusDelta with the new delta locus', () => {
183
183
  const meeting = {
184
184
  locusInfo: {
185
- onDeltaLocus: sinon.stub()
185
+ handleLocusDelta: sinon.stub()
186
186
  },
187
187
  };
188
188
 
@@ -195,13 +195,13 @@ describe('plugin-meetings', () => {
195
195
  const response = MeetingUtil.updateLocusWithDelta(meeting, originalResponse);
196
196
 
197
197
  assert.deepEqual(response, originalResponse);
198
- assert.calledOnceWithExactly(meeting.locusInfo.onDeltaLocus, 'locus');
198
+ assert.calledOnceWithExactly(meeting.locusInfo.handleLocusDelta, 'locus', meeting);
199
199
  });
200
200
 
201
201
  it('should handle locus being missing from the response', () => {
202
202
  const meeting = {
203
203
  locusInfo: {
204
- onDeltaLocus: sinon.stub(),
204
+ handleLocusDelta: sinon.stub(),
205
205
  },
206
206
  };
207
207
 
@@ -212,7 +212,7 @@ describe('plugin-meetings', () => {
212
212
  const response = MeetingUtil.updateLocusWithDelta(meeting, originalResponse);
213
213
 
214
214
  assert.deepEqual(response, originalResponse);
215
- assert.notCalled(meeting.locusInfo.onDeltaLocus);
215
+ assert.notCalled(meeting.locusInfo.handleLocusDelta);
216
216
  });
217
217
 
218
218
  it('should work with an undefined meeting', () => {