codeceptjs 3.6.3 → 3.6.4-beta.1

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/heal.js CHANGED
@@ -154,7 +154,7 @@ module.exports = heal;
154
154
  function matchRecipes(recipes, contextName) {
155
155
  return Object.entries(recipes)
156
156
  .filter(([, recipe]) => !contextName || !recipe.grep || new RegExp(recipe.grep).test(contextName))
157
- .sort(([, a], [, b]) => b.priority - a.priority)
157
+ .sort(([, a], [, b]) => a.priority - b.priority)
158
158
  .map(([name, recipe]) => {
159
159
  recipe.name = name;
160
160
  return recipe;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeceptjs",
3
- "version": "3.6.3",
3
+ "version": "3.6.4-beta.01",
4
4
  "description": "Supercharged End 2 End Testing Framework for NodeJS",
5
5
  "keywords": [
6
6
  "acceptance",
@@ -179,4 +179,4 @@
179
179
  "strict": false
180
180
  }
181
181
  }
182
- }
182
+ }
@@ -1154,6 +1154,8 @@ declare namespace CodeceptJS {
1154
1154
  *
1155
1155
  * ## Methods
1156
1156
  */
1157
+ // @ts-ignore
1158
+ // @ts-ignore
1157
1159
  class ExpectHelper {
1158
1160
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
1159
1161
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
@@ -1265,6 +1267,8 @@ declare namespace CodeceptJS {
1265
1267
  *
1266
1268
  * ## Methods
1267
1269
  */
1270
+ // @ts-ignore
1271
+ // @ts-ignore
1268
1272
  class ExpectHelper {
1269
1273
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
1270
1274
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
@@ -1936,6 +1940,8 @@ declare namespace CodeceptJS {
1936
1940
  * @property [host = "0.0.0.0"] - Mock server host
1937
1941
  * @property [httpsOpts] - key & cert values are the paths to .key and .crt files
1938
1942
  */
1943
+ // @ts-ignore
1944
+ // @ts-ignore
1939
1945
  type MockServerConfig = {
1940
1946
  port?: number;
1941
1947
  host?: string;
@@ -2060,6 +2066,8 @@ declare namespace CodeceptJS {
2060
2066
  *
2061
2067
  * ## Methods
2062
2068
  */
2069
+ // @ts-ignore
2070
+ // @ts-ignore
2063
2071
  class MockServer {
2064
2072
  /**
2065
2073
  * Start the mock server
@@ -1178,6 +1178,8 @@ declare namespace CodeceptJS {
1178
1178
  *
1179
1179
  * ## Methods
1180
1180
  */
1181
+ // @ts-ignore
1182
+ // @ts-ignore
1181
1183
  class ExpectHelper {
1182
1184
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
1183
1185
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
@@ -1289,6 +1291,8 @@ declare namespace CodeceptJS {
1289
1291
  *
1290
1292
  * ## Methods
1291
1293
  */
1294
+ // @ts-ignore
1295
+ // @ts-ignore
1292
1296
  class ExpectHelper {
1293
1297
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
1294
1298
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
@@ -1963,6 +1967,8 @@ declare namespace CodeceptJS {
1963
1967
  * @property [host = "0.0.0.0"] - Mock server host
1964
1968
  * @property [httpsOpts] - key & cert values are the paths to .key and .crt files
1965
1969
  */
1970
+ // @ts-ignore
1971
+ // @ts-ignore
1966
1972
  type MockServerConfig = {
1967
1973
  port?: number;
1968
1974
  host?: string;
@@ -2087,6 +2093,8 @@ declare namespace CodeceptJS {
2087
2093
  *
2088
2094
  * ## Methods
2089
2095
  */
2096
+ // @ts-ignore
2097
+ // @ts-ignore
2090
2098
  class MockServer {
2091
2099
  /**
2092
2100
  * Start the mock server