@webex/plugin-meetings 3.12.0-next.36 → 3.12.0-next.38
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/aiEnableRequest/index.js +1 -1
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/constants.js +2 -4
- package/dist/constants.js.map +1 -1
- package/dist/hashTree/hashTreeParser.js +4 -4
- package/dist/hashTree/hashTreeParser.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/index.js +2 -4
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/types.js +16 -0
- package/dist/locus-info/types.js.map +1 -1
- package/dist/meetings/util.js +11 -1
- package/dist/meetings/util.js.map +1 -1
- package/dist/types/constants.d.ts +0 -1
- package/dist/types/locus-info/types.d.ts +17 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -2
- package/src/hashTree/hashTreeParser.ts +5 -6
- package/src/locus-info/index.ts +2 -7
- package/src/locus-info/types.ts +19 -1
- package/src/meetings/util.ts +14 -2
- package/test/unit/spec/hashTree/hashTreeParser.ts +143 -0
- package/test/unit/spec/locus-info/index.js +35 -8
- package/test/unit/spec/meetings/utils.js +13 -0
|
@@ -238,6 +238,19 @@ describe('plugin-meetings', () => {
|
|
|
238
238
|
});
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
+
describe('#isWholeMeetingEnded', () => {
|
|
242
|
+
[
|
|
243
|
+
{description: 'state is INACTIVE with no endMeetingReason', fullState: {state: 'INACTIVE'}, expected: true},
|
|
244
|
+
{description: 'state is INACTIVE with endMeetingReason OTHER', fullState: {state: 'INACTIVE', endMeetingReason: 'SOME_OTHER_REASON'}, expected: true},
|
|
245
|
+
{description: 'state is INACTIVE with endMeetingReason BREAKOUT_ENDED', fullState: {state: 'INACTIVE', endMeetingReason: 'BREAKOUT_ENDED'}, expected: false},
|
|
246
|
+
{description: 'state is not INACTIVE', fullState: {state: 'ACTIVE', endMeetingReason: 'SOME_OTHER_REASON'}, expected: false},
|
|
247
|
+
].forEach(({description, fullState, expected}) => {
|
|
248
|
+
it(`returns ${expected} when ${description}`, () => {
|
|
249
|
+
assert.equal(MeetingsUtil.isWholeMeetingEnded(fullState), expected);
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
|
|
241
254
|
describe('#isSelfMovedOrBreakoutEnded', () => {
|
|
242
255
|
[
|
|
243
256
|
{description: 'locus is undefined', locus: undefined, expected: false},
|