@webex/internal-plugin-board 2.60.1-next.1 → 2.60.1-next.11
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/board.js +1 -1
- package/dist/realtime.js +1 -1
- package/package.json +14 -15
- package/test/integration/spec/board.js +9 -5
package/dist/board.js
CHANGED
package/dist/realtime.js
CHANGED
|
@@ -221,7 +221,7 @@ var RealtimeService = _webexCore.WebexPlugin.extend({
|
|
|
221
221
|
return _this7.realtimeChannels.remove(channel.channelId);
|
|
222
222
|
}));
|
|
223
223
|
},
|
|
224
|
-
version: "2.60.1-next.
|
|
224
|
+
version: "2.60.1-next.11"
|
|
225
225
|
});
|
|
226
226
|
var _default = exports.default = RealtimeService;
|
|
227
227
|
//# sourceMappingURL=realtime.js.map
|
package/package.json
CHANGED
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
26
26
|
"@webex/jest-config-legacy": "0.0.0",
|
|
27
27
|
"@webex/legacy-tools": "0.0.0",
|
|
28
|
-
"@webex/test-helper-chai": "2.60.1-next.
|
|
29
|
-
"@webex/test-helper-file": "2.60.1-next.
|
|
30
|
-
"@webex/test-helper-mocha": "2.60.1-next.
|
|
31
|
-
"@webex/test-helper-mock-web-socket": "2.60.1-next.
|
|
32
|
-
"@webex/test-helper-mock-webex": "2.60.1-next.
|
|
33
|
-
"@webex/test-helper-test-users": "2.60.1-next.
|
|
28
|
+
"@webex/test-helper-chai": "2.60.1-next.11",
|
|
29
|
+
"@webex/test-helper-file": "2.60.1-next.11",
|
|
30
|
+
"@webex/test-helper-mocha": "2.60.1-next.11",
|
|
31
|
+
"@webex/test-helper-mock-web-socket": "2.60.1-next.11",
|
|
32
|
+
"@webex/test-helper-mock-webex": "2.60.1-next.11",
|
|
33
|
+
"@webex/test-helper-test-users": "2.60.1-next.11",
|
|
34
34
|
"eslint": "^8.24.0",
|
|
35
35
|
"prettier": "^2.7.1",
|
|
36
36
|
"sinon": "^9.2.4"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@webex/common": "2.60.1-next.
|
|
40
|
-
"@webex/internal-plugin-conversation": "2.60.1-next.
|
|
41
|
-
"@webex/internal-plugin-encryption": "2.60.1-next.
|
|
42
|
-
"@webex/internal-plugin-feature": "2.60.1-next.
|
|
43
|
-
"@webex/internal-plugin-mercury": "2.60.1-next.
|
|
44
|
-
"@webex/webex-core": "2.60.1-next.
|
|
39
|
+
"@webex/common": "2.60.1-next.11",
|
|
40
|
+
"@webex/internal-plugin-conversation": "2.60.1-next.11",
|
|
41
|
+
"@webex/internal-plugin-encryption": "2.60.1-next.11",
|
|
42
|
+
"@webex/internal-plugin-feature": "2.60.1-next.11",
|
|
43
|
+
"@webex/internal-plugin-mercury": "2.60.1-next.11",
|
|
44
|
+
"@webex/webex-core": "2.60.1-next.11",
|
|
45
45
|
"ampersand-collection": "^2.0.2",
|
|
46
46
|
"es6-promise-series": "^0.2.2",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
@@ -52,10 +52,9 @@
|
|
|
52
52
|
"build:src": "webex-legacy-tools build -dest \"./dist\" -src \"./src\" -js -ts -maps",
|
|
53
53
|
"deploy:npm": "yarn npm publish",
|
|
54
54
|
"test": "yarn test:style && yarn test:unit && yarn test:integration && yarn test:browser",
|
|
55
|
-
"test:browser
|
|
56
|
-
"test:integration:broken": "webex-legacy-tools test --integration --runner mocha",
|
|
55
|
+
"test:browser": "webex-legacy-tools test --integration --runner karma",
|
|
57
56
|
"test:style": "eslint ./src/**/*.*",
|
|
58
57
|
"test:unit": "webex-legacy-tools test --unit --runner jest"
|
|
59
58
|
},
|
|
60
|
-
"version": "2.60.1-next.
|
|
59
|
+
"version": "2.60.1-next.11"
|
|
61
60
|
}
|
|
@@ -122,10 +122,10 @@ describe('plugin-board', () => {
|
|
|
122
122
|
describe('#setSnapshotImage()', () => {
|
|
123
123
|
after(() => participants[0].webex.internal.board.deleteAllContent(board));
|
|
124
124
|
|
|
125
|
-
it('uploads image to webex files and adds to channel', () => {
|
|
125
|
+
it('uploads image to webex files and adds to channel', (done) => {
|
|
126
126
|
let imageRes;
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
participants[0].webex.internal.board
|
|
129
129
|
.setSnapshotImage(board, fixture)
|
|
130
130
|
.then((res) => {
|
|
131
131
|
imageRes = res.image;
|
|
@@ -145,9 +145,13 @@ describe('plugin-board', () => {
|
|
|
145
145
|
);
|
|
146
146
|
})
|
|
147
147
|
.then((decryptedScr) => participants[2].webex.internal.encryption.download(decryptedScr.loc, decryptedScr))
|
|
148
|
-
.then((file) =>
|
|
149
|
-
fh.isMatchingFile(file, fixture).then((result) => assert.deepEqual(result, true))
|
|
150
|
-
|
|
148
|
+
.then((file) =>{
|
|
149
|
+
fh.isMatchingFile(file, fixture).then((result) => assert.deepEqual(result, true));
|
|
150
|
+
done();
|
|
151
|
+
}).catch(err => {
|
|
152
|
+
assert(false, err);
|
|
153
|
+
done();
|
|
154
|
+
})
|
|
151
155
|
});
|
|
152
156
|
});
|
|
153
157
|
|