@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.
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +47 -15
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/meeting/muteState.js +1 -1
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +7 -44
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/util.js +1 -1
- package/dist/meeting/util.js.map +1 -1
- package/dist/types/locus-info/index.d.ts +7 -0
- package/dist/types/locus-info/parser.d.ts +2 -1
- package/dist/types/meeting/request.d.ts +3 -16
- package/package.json +19 -19
- package/src/locus-info/index.ts +47 -14
- package/src/locus-info/parser.ts +1 -1
- package/src/meeting/muteState.ts +1 -1
- package/src/meeting/request.ts +6 -47
- package/src/meeting/util.ts +1 -1
- package/test/unit/spec/locus-info/index.js +62 -15
- package/test/unit/spec/meeting/muteState.js +1 -1
- package/test/unit/spec/meeting/utils.js +5 -5
|
@@ -179,10 +179,10 @@ describe('plugin-meetings', () => {
|
|
|
179
179
|
});
|
|
180
180
|
|
|
181
181
|
describe('updateLocusWithDelta', () => {
|
|
182
|
-
it('should call
|
|
182
|
+
it('should call handleLocusDelta with the new delta locus', () => {
|
|
183
183
|
const meeting = {
|
|
184
184
|
locusInfo: {
|
|
185
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
215
|
+
assert.notCalled(meeting.locusInfo.handleLocusDelta);
|
|
216
216
|
});
|
|
217
217
|
|
|
218
218
|
it('should work with an undefined meeting', () => {
|