webex 2.59.4-next.3 → 2.59.4-next.5
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/jest.config.js +3 -0
- package/package.json +7 -5
- package/test/unit/spec/webex.js +5 -4
- package/umd/calling.min.js +1 -1
- package/umd/meetings.min.js +1 -1
- package/umd/webex.min.js +1 -1
package/jest.config.js
ADDED
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"Christopher DuBois <chdubois@cisco.com> (https://chrisadubois.github.io/)",
|
|
9
9
|
"Kesava Krishnan Madavan <kmadavan@cisco.com>",
|
|
10
10
|
"Priya Kesari <pkesari@cisco.com>",
|
|
11
|
+
"Rajesh Kumar <rarajes2@cisco.com>",
|
|
11
12
|
"Sreekanth Narayanan <sreenara@cisco.com>"
|
|
12
13
|
],
|
|
13
14
|
"main": "dist/index.js",
|
|
@@ -42,8 +43,8 @@
|
|
|
42
43
|
"test": "yarn test:style && yarn test:unit && yarn test:integration",
|
|
43
44
|
"test:browser": "webex-legacy-tools test --integration --unit --runner karma",
|
|
44
45
|
"test:integration": "webex-legacy-tools test --integration --runner mocha",
|
|
45
|
-
"test:style
|
|
46
|
-
"test:unit
|
|
46
|
+
"test:style": "eslint ./src/**/*.*",
|
|
47
|
+
"test:unit": "webex-legacy-tools test --unit --runner jest",
|
|
47
48
|
"deploy:npm": "yarn npm publish"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
@@ -57,13 +58,14 @@
|
|
|
57
58
|
"@webex/test-helper-mocha": "^2.59.3-next.1",
|
|
58
59
|
"@webex/test-helper-mock-webex": "^2.59.3-next.1",
|
|
59
60
|
"@webex/test-helper-test-users": "^2.59.3-next.1",
|
|
61
|
+
"eslint": "^8.24.0",
|
|
60
62
|
"sinon": "^9.2.4",
|
|
61
|
-
"webex": "^2.59.4-next.
|
|
63
|
+
"webex": "^2.59.4-next.5"
|
|
62
64
|
},
|
|
63
65
|
"dependencies": {
|
|
64
66
|
"@babel/polyfill": "^7.12.1",
|
|
65
67
|
"@babel/runtime-corejs2": "^7.14.8",
|
|
66
|
-
"@webex/calling": "^3.0.0-next.
|
|
68
|
+
"@webex/calling": "^3.0.0-next.11",
|
|
67
69
|
"@webex/common": "^2.59.3-next.1",
|
|
68
70
|
"@webex/internal-plugin-calendar": "^2.59.3-next.1",
|
|
69
71
|
"@webex/internal-plugin-device": "^2.59.3-next.1",
|
|
@@ -85,5 +87,5 @@
|
|
|
85
87
|
"@webex/webex-core": "^2.59.3-next.1",
|
|
86
88
|
"lodash": "^4.17.21"
|
|
87
89
|
},
|
|
88
|
-
"version": "2.59.4-next.
|
|
90
|
+
"version": "2.59.4-next.5"
|
|
89
91
|
}
|
package/test/unit/spec/webex.js
CHANGED
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
import {assert} from '@webex/test-helper-chai';
|
|
6
6
|
import Webex from 'webex';
|
|
7
|
-
|
|
7
|
+
jest.mock('@webex/internal-plugin-calendar');
|
|
8
8
|
|
|
9
9
|
describe('webex', () => {
|
|
10
10
|
describe('Webex', () => {
|
|
11
|
+
|
|
11
12
|
describe('.version', () => {
|
|
12
13
|
it('exists', () => {
|
|
13
14
|
assert.property(Webex, 'version');
|
|
14
|
-
assert.equal(Webex.version,
|
|
15
|
+
assert.equal(Webex.version, "modern");
|
|
15
16
|
});
|
|
16
17
|
});
|
|
17
18
|
|
|
@@ -20,7 +21,7 @@ describe('webex', () => {
|
|
|
20
21
|
const webex = new Webex();
|
|
21
22
|
|
|
22
23
|
assert.property(webex, 'version');
|
|
23
|
-
assert.equal(webex.version,
|
|
24
|
+
assert.equal(webex.version, "modern");
|
|
24
25
|
});
|
|
25
26
|
});
|
|
26
27
|
|
|
@@ -43,7 +44,7 @@ describe('webex', () => {
|
|
|
43
44
|
fedramp: true,
|
|
44
45
|
},
|
|
45
46
|
credentials: {
|
|
46
|
-
access_token:
|
|
47
|
+
access_token: process.env.token,
|
|
47
48
|
},
|
|
48
49
|
});
|
|
49
50
|
|