@webex/plugin-meetings 2.60.1-next.12 → 2.60.1-next.13
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/meeting/index.js +4 -3
- package/dist/meeting/index.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +5 -5
- package/src/meeting/index.ts +2 -1
- package/test/unit/spec/breakouts/breakout.ts +2 -1
- package/test/unit/spec/breakouts/index.ts +7 -4
- package/test/unit/spec/media/index.ts +5 -0
- package/test/unit/spec/meeting/index.js +167 -751
- package/test/unit/spec/meeting/utils.js +19 -9
- package/test/unit/spec/meeting-info/meetinginfov2.js +8 -8
- package/test/unit/spec/meetings/index.js +28 -11
- package/test/unit/spec/multistream/mediaRequestManager.ts +1 -0
package/dist/webinar/index.js
CHANGED
|
@@ -62,7 +62,7 @@ var Webinar = _webexCore.WebexPlugin.extend({
|
|
|
62
62
|
updateCanManageWebcast: function updateCanManageWebcast(canManageWebcast) {
|
|
63
63
|
this.set('canManageWebcast', canManageWebcast);
|
|
64
64
|
},
|
|
65
|
-
version: "2.60.1-next.
|
|
65
|
+
version: "2.60.1-next.13"
|
|
66
66
|
});
|
|
67
67
|
var _default = exports.default = Webinar;
|
|
68
68
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"test:browser": "webex-legacy-tools test --integration --runner karma",
|
|
36
36
|
"test:integration:broken": "webex-legacy-tools test --integration --runner mocha",
|
|
37
37
|
"test:style": "eslint ./src/**/*.*",
|
|
38
|
-
"test:unit
|
|
38
|
+
"test:unit": "webex-legacy-tools test --unit --runner mocha"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@babel/core": "^7.17.10",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
45
45
|
"@webex/jest-config-legacy": "0.0.0",
|
|
46
46
|
"@webex/legacy-tools": "0.0.0",
|
|
47
|
-
"@webex/plugin-meetings": "2.60.1-next.
|
|
47
|
+
"@webex/plugin-meetings": "2.60.1-next.13",
|
|
48
48
|
"@webex/plugin-rooms": "2.60.1-next.9",
|
|
49
49
|
"@webex/test-helper-chai": "2.60.1-next.9",
|
|
50
50
|
"@webex/test-helper-mocha": "2.60.1-next.9",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"@webex/internal-plugin-metrics": "2.60.1-next.9",
|
|
72
72
|
"@webex/internal-plugin-support": "2.60.1-next.9",
|
|
73
73
|
"@webex/internal-plugin-user": "2.60.1-next.9",
|
|
74
|
-
"@webex/internal-plugin-voicea": "2.60.1-next.
|
|
75
|
-
"@webex/media-helpers": "3.0.0-next.
|
|
74
|
+
"@webex/internal-plugin-voicea": "2.60.1-next.13",
|
|
75
|
+
"@webex/media-helpers": "3.0.0-next.29",
|
|
76
76
|
"@webex/plugin-people": "2.60.1-next.9",
|
|
77
77
|
"@webex/plugin-rooms": "2.60.1-next.9",
|
|
78
78
|
"@webex/webex-core": "2.60.1-next.9",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"//": [
|
|
93
93
|
"TODO: upgrade jwt-decode when moving to node 18"
|
|
94
94
|
],
|
|
95
|
-
"version": "2.60.1-next.
|
|
95
|
+
"version": "2.60.1-next.13"
|
|
96
96
|
}
|
package/src/meeting/index.ts
CHANGED
|
@@ -4758,6 +4758,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
4758
4758
|
LoggerProxy.logger.error(
|
|
4759
4759
|
`Meeting:index#startTranscription --> meeting joined : ${this.isJoined()}`
|
|
4760
4760
|
);
|
|
4761
|
+
throw new Error('Meeting is not joined');
|
|
4761
4762
|
}
|
|
4762
4763
|
}
|
|
4763
4764
|
|
|
@@ -4854,7 +4855,7 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
4854
4855
|
Trigger.trigger(
|
|
4855
4856
|
this,
|
|
4856
4857
|
{
|
|
4857
|
-
file: 'meeting',
|
|
4858
|
+
file: 'meeting/index',
|
|
4858
4859
|
function: 'triggerStopReceivingTranscriptionEvent',
|
|
4859
4860
|
},
|
|
4860
4861
|
EVENT_TRIGGERS.MEETING_STOPPED_RECEIVING_TRANSCRIPTION
|
|
@@ -89,7 +89,7 @@ describe('plugin-meetings', () => {
|
|
|
89
89
|
})
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
sinon.stub(webex.internal.newMetrics.submitClientEvent, 'bind').returns(webex.internal.newMetrics.submitClientEvent);
|
|
92
|
+
const submitClientEventStub = sinon.stub(webex.internal.newMetrics.submitClientEvent, 'bind').returns(webex.internal.newMetrics.submitClientEvent);
|
|
93
93
|
|
|
94
94
|
let onBreakoutMoveRequestStub = sinon.stub(breakoutEvent, 'onBreakoutMoveRequest');
|
|
95
95
|
let onBreakoutMoveResponseStub = sinon.stub(breakoutEvent, 'onBreakoutMoveResponse');
|
|
@@ -105,6 +105,7 @@ describe('plugin-meetings', () => {
|
|
|
105
105
|
|
|
106
106
|
onBreakoutMoveRequestStub.restore();
|
|
107
107
|
onBreakoutMoveResponseStub.restore();
|
|
108
|
+
submitClientEventStub.restore()
|
|
108
109
|
});
|
|
109
110
|
});
|
|
110
111
|
|
|
@@ -381,7 +381,7 @@ describe('plugin-meetings', () => {
|
|
|
381
381
|
id: 'meeting-id'
|
|
382
382
|
})
|
|
383
383
|
};
|
|
384
|
-
|
|
384
|
+
const onBreakoutJoinResponseSpy = sinon.stub(breakoutEvent,'onBreakoutJoinResponse')
|
|
385
385
|
breakouts.currentBreakoutSession.sessionId = "sessionId-old";
|
|
386
386
|
breakouts.updateBreakout({
|
|
387
387
|
sessionId: 'sessionId-new',
|
|
@@ -398,7 +398,9 @@ describe('plugin-meetings', () => {
|
|
|
398
398
|
breakoutMoveId: 'breakoutMoveId',
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
assert.calledOnce(
|
|
401
|
+
assert.calledOnce(onBreakoutJoinResponseSpy);
|
|
402
|
+
|
|
403
|
+
onBreakoutJoinResponseSpy.restore()
|
|
402
404
|
|
|
403
405
|
});
|
|
404
406
|
|
|
@@ -408,7 +410,7 @@ describe('plugin-meetings', () => {
|
|
|
408
410
|
id: 'meeting-id'
|
|
409
411
|
})
|
|
410
412
|
};
|
|
411
|
-
|
|
413
|
+
const onBreakoutJoinResponseSpy = sinon.stub(breakoutEvent, 'onBreakoutJoinResponse');
|
|
412
414
|
breakouts.currentBreakoutSession.sessionId = "sessionId";
|
|
413
415
|
breakouts.currentBreakoutSession.groupId = "groupId";
|
|
414
416
|
breakouts.updateBreakout({
|
|
@@ -426,7 +428,8 @@ describe('plugin-meetings', () => {
|
|
|
426
428
|
breakoutMoveId: 'breakoutMoveId',
|
|
427
429
|
});
|
|
428
430
|
|
|
429
|
-
assert.notCalled(
|
|
431
|
+
assert.notCalled(onBreakoutJoinResponseSpy);
|
|
432
|
+
onBreakoutJoinResponseSpy.restore()
|
|
430
433
|
|
|
431
434
|
});
|
|
432
435
|
});
|
|
@@ -7,6 +7,10 @@ import {forEach} from 'lodash';
|
|
|
7
7
|
import MockWebex from '@webex/test-helper-mock-webex';
|
|
8
8
|
|
|
9
9
|
describe('createMediaConnection', () => {
|
|
10
|
+
let clock;
|
|
11
|
+
beforeEach(() => {
|
|
12
|
+
clock = sinon.useFakeTimers();
|
|
13
|
+
});
|
|
10
14
|
const webex = MockWebex();
|
|
11
15
|
|
|
12
16
|
const fakeRoapMediaConnection = {
|
|
@@ -45,6 +49,7 @@ describe('createMediaConnection', () => {
|
|
|
45
49
|
};
|
|
46
50
|
afterEach(() => {
|
|
47
51
|
sinon.restore();
|
|
52
|
+
clock.uninstall()
|
|
48
53
|
});
|
|
49
54
|
|
|
50
55
|
it('creates a RoapMediaConnection when multistream is disabled', () => {
|