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.
- package/lib/helper/MockServer.js +3 -3
- package/package.json +1 -1
- package/typings/types.d.ts +3 -3
package/lib/helper/MockServer.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
213
|
+
* @returns void
|
|
214
214
|
*
|
|
215
215
|
*/
|
|
216
216
|
async addInteractionToMockServer(interaction) {
|
package/package.json
CHANGED
package/typings/types.d.ts
CHANGED
|
@@ -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
|
|
1898
|
+
* @returns void
|
|
1899
1899
|
*/
|
|
1900
1900
|
startMockServer(port?: number): any;
|
|
1901
1901
|
/**
|
|
1902
1902
|
* Stop the mock server
|
|
1903
|
-
* @returns
|
|
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
|
|
1943
|
+
* @returns void
|
|
1944
1944
|
*/
|
|
1945
1945
|
addInteractionToMockServer(interaction: CodeceptJS.MockInteraction | any): any;
|
|
1946
1946
|
}
|