@webex/plugin-meetings 1.156.2 → 1.157.0

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.
@@ -448,6 +448,13 @@ skipInBrowser(describe)('plugin-meetings', () => {
448
448
  assert.calledOnce(initialSetup);
449
449
  assert.calledWith(initialSetup, {id: uuid1, replaces: [{locusUrl: 'http:locusUrl'}], self: {callBackInfo: {callbackAddress: uri1}}});
450
450
  });
451
+ it('should setup the meeting by difference event without replaces', async () => {
452
+ await webex.meetings.handleLocusEvent({locus: {id: uuid1, self: {callBackInfo: {callbackAddress: uri1}}}, eventType: 'locus.difference', locusUrl: url1});
453
+ assert.callCount(webex.meetings.meetingCollection.getByKey, 4);
454
+ assert.calledWith(webex.meetings.meetingCollection.getByKey, 'locusUrl', url1);
455
+ assert.calledOnce(initialSetup);
456
+ assert.calledWith(initialSetup, {id: uuid1, self: {callBackInfo: {callbackAddress: uri1}}});
457
+ });
451
458
  it('should setup the meeting by a not difference event', async () => {
452
459
  await webex.meetings.handleLocusEvent({locus: {id: uuid1, self: {callBackInfo: {callbackAddress: uri1}}}, eventType: test1, locusUrl: url1});
453
460
  assert.callCount(webex.meetings.meetingCollection.getByKey, 4);