@atlaskit/media-test-helpers 33.0.16 → 33.0.18

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/media-test-helpers
2
2
 
3
+ ## 33.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42562](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42562) [`49213c393ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49213c393ca) - Upgrade `mock-socket` and adapt to API changes
8
+ - Updated dependencies
9
+
10
+ ## 33.0.17
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 33.0.16
4
17
 
5
18
  ### Patch Changes
@@ -154,12 +154,13 @@ var RemoteUploadActivityServer = exports.RemoteUploadActivityServer = /*#__PURE_
154
154
  (0, _createClass2.default)(RemoteUploadActivityServer, [{
155
155
  key: "start",
156
156
  value: function start() {
157
- this.wsServer.start();
157
+ this.wsServer.mockWebsocket();
158
158
  }
159
159
  }, {
160
160
  key: "stop",
161
161
  value: function stop() {
162
162
  this.msgSubscription.unsubscribe();
163
+ this.wsServer.restoreWebsocket();
163
164
  this.wsServer.stop();
164
165
  }
165
166
  }]);
@@ -128,10 +128,11 @@ export class RemoteUploadActivityServer {
128
128
  })), generateDownstreamMessages(wsUrl, database, isSlowServer)).subscribe();
129
129
  }
130
130
  start() {
131
- this.wsServer.start();
131
+ this.wsServer.mockWebsocket();
132
132
  }
133
133
  stop() {
134
134
  this.msgSubscription.unsubscribe();
135
+ this.wsServer.restoreWebsocket();
135
136
  this.wsServer.stop();
136
137
  }
137
138
  }
@@ -147,12 +147,13 @@ export var RemoteUploadActivityServer = /*#__PURE__*/function () {
147
147
  _createClass(RemoteUploadActivityServer, [{
148
148
  key: "start",
149
149
  value: function start() {
150
- this.wsServer.start();
150
+ this.wsServer.mockWebsocket();
151
151
  }
152
152
  }, {
153
153
  key: "stop",
154
154
  value: function stop() {
155
155
  this.msgSubscription.unsubscribe();
156
+ this.wsServer.restoreWebsocket();
156
157
  this.wsServer.stop();
157
158
  }
158
159
  }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "33.0.16",
3
+ "version": "33.0.18",
4
4
  "description": "Collection of test helpers used in media component stories and specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,11 +27,11 @@
27
27
  "releaseModel": "continuous"
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/button": "^16.11.0",
30
+ "@atlaskit/button": "^16.13.0",
31
31
  "@atlaskit/checkbox": "^12.6.0",
32
32
  "@atlaskit/icon": "^21.12.0",
33
- "@atlaskit/locale": "^2.5.0",
34
- "@atlaskit/media-client": "^24.0.0",
33
+ "@atlaskit/locale": "^2.6.0",
34
+ "@atlaskit/media-client": "^25.0.0",
35
35
  "@atlaskit/media-common": "^9.0.0",
36
36
  "@atlaskit/media-ui": "^25.0.0",
37
37
  "@atlaskit/popup": "^1.11.0",
@@ -47,7 +47,7 @@
47
47
  "enzyme": "^3.10.0",
48
48
  "exenv": "^1.2.2",
49
49
  "kakapo": "^4.0.6",
50
- "mock-socket": "^9.0.3",
50
+ "mock-socket": "^9.3.1",
51
51
  "react-intl-next": "npm:react-intl@^5.18.1",
52
52
  "rxjs": "^5.5.0",
53
53
  "uuid": "^3.1.0",