codeceptjs 3.5.12-beta.8 → 3.5.12-beta.9

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.
@@ -152,7 +152,7 @@ class MockServer {
152
152
  * Start the mock server
153
153
  * @param {number} [port] start the mock server with given port
154
154
  *
155
- * @returns Promise<void>
155
+ * @returns void
156
156
  */
157
157
  async startMockServer(port) {
158
158
  const _config = { ...config };
@@ -164,7 +164,7 @@ class MockServer {
164
164
  /**
165
165
  * Stop the mock server
166
166
  *
167
- * @returns Promise<void>
167
+ * @returns void
168
168
  *
169
169
  */
170
170
  async stopMockServer() {
@@ -210,7 +210,7 @@ class MockServer {
210
210
  *
211
211
  * @param {CodeceptJS.MockInteraction|object} interaction add behavior to the mock server
212
212
  *
213
- * @returns Promise<void>
213
+ * @returns void
214
214
  *
215
215
  */
216
216
  async addInteractionToMockServer(interaction) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeceptjs",
3
- "version": "3.5.12-beta.8",
3
+ "version": "3.5.12-beta.9",
4
4
  "description": "Supercharged End 2 End Testing Framework for NodeJS",
5
5
  "keywords": [
6
6
  "acceptance",
@@ -1895,12 +1895,12 @@ declare namespace CodeceptJS {
1895
1895
  /**
1896
1896
  * Start the mock server
1897
1897
  * @param [port] - start the mock server with given port
1898
- * @returns Promise<void>
1898
+ * @returns void
1899
1899
  */
1900
1900
  startMockServer(port?: number): any;
1901
1901
  /**
1902
1902
  * Stop the mock server
1903
- * @returns Promise<void>
1903
+ * @returns void
1904
1904
  */
1905
1905
  stopMockServer(): any;
1906
1906
  /**
@@ -1940,7 +1940,7 @@ declare namespace CodeceptJS {
1940
1940
  * });
1941
1941
  * ```
1942
1942
  * @param interaction - add behavior to the mock server
1943
- * @returns Promise<void>
1943
+ * @returns void
1944
1944
  */
1945
1945
  addInteractionToMockServer(interaction: CodeceptJS.MockInteraction | any): any;
1946
1946
  }