@wdio/config 9.20.1 → 9.22.0
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/build/constants.d.ts +1 -0
- package/build/constants.d.ts.map +1 -1
- package/build/index.d.ts +2 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +4 -1
- package/build/node/index.js +2 -1
- package/package.json +3 -3
package/build/constants.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Services } from '@wdio/types';
|
|
2
2
|
export declare const DEFAULT_CONFIGS: () => WebdriverIO.Config;
|
|
3
|
+
export declare const DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE = 100;
|
|
3
4
|
export declare const SUPPORTED_HOOKS: (keyof Services.Hooks)[];
|
|
4
5
|
export declare const SUPPORTED_FILE_EXTENSIONS: string[];
|
|
5
6
|
export declare const NO_NAMED_CONFIG_EXPORT: string;
|
package/build/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAM3C,eAAO,MAAM,eAAe,EAAE,MAAM,WAAW,CAAC,MAkF9C,CAAA;AAEF,eAAO,MAAM,0CAA0C,MAAuC,CAAA;AAE9F,eAAO,MAAM,eAAe,EAAE,CAAC,MAAM,QAAQ,CAAC,KAAK,CAAC,EAOnD,CAAA;AAED,eAAO,MAAM,yBAAyB,UAErC,CAAA;AAED,eAAO,MAAM,sBAAsB,QAIlC,CAAA"}
|
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_CONFIGS } from './constants.js';
|
|
1
|
+
import { DEFAULT_CONFIGS, DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE } from './constants.js';
|
|
2
2
|
import { defineConfig, validateConfig, isCloudCapability } from './utils.js';
|
|
3
3
|
export {
|
|
4
4
|
/**
|
|
@@ -8,6 +8,6 @@ validateConfig, defineConfig, isCloudCapability,
|
|
|
8
8
|
/**
|
|
9
9
|
* constants
|
|
10
10
|
*/
|
|
11
|
-
DEFAULT_CONFIGS };
|
|
11
|
+
DEFAULT_CONFIGS, DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE };
|
|
12
12
|
export * from './types.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,0CAA0C,EAAE,MAAM,gBAAgB,CAAA;AAC5F,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE5E,OAAO;AACH;;GAEG;AACH,cAAc,EACd,YAAY,EACZ,iBAAiB;AAEjB;;GAEG;AACH,eAAe,EACf,0CAA0C,EAC7C,CAAA;AAED,cAAc,YAAY,CAAA"}
|
package/build/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
2
|
var DEFAULT_TIMEOUT = 1e4;
|
|
3
|
+
var DEFAULT_MAX_INSTANCES_PER_CAPABILITY = 100;
|
|
3
4
|
var DEFAULT_CONFIGS = () => ({
|
|
4
5
|
specs: [],
|
|
5
6
|
suites: {},
|
|
@@ -17,7 +18,7 @@ var DEFAULT_CONFIGS = () => ({
|
|
|
17
18
|
reporters: [],
|
|
18
19
|
services: [],
|
|
19
20
|
maxInstances: 100,
|
|
20
|
-
maxInstancesPerCapability:
|
|
21
|
+
maxInstancesPerCapability: DEFAULT_MAX_INSTANCES_PER_CAPABILITY,
|
|
21
22
|
injectGlobals: true,
|
|
22
23
|
filesToWatch: [],
|
|
23
24
|
connectionRetryTimeout: 12e4,
|
|
@@ -80,6 +81,7 @@ var DEFAULT_CONFIGS = () => ({
|
|
|
80
81
|
afterScenario: [],
|
|
81
82
|
afterFeature: []
|
|
82
83
|
});
|
|
84
|
+
var DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE = DEFAULT_MAX_INSTANCES_PER_CAPABILITY;
|
|
83
85
|
|
|
84
86
|
// src/utils.ts
|
|
85
87
|
function isCloudCapability(caps) {
|
|
@@ -125,6 +127,7 @@ function validateConfig(defaults, options, keysToKeep = []) {
|
|
|
125
127
|
}
|
|
126
128
|
export {
|
|
127
129
|
DEFAULT_CONFIGS,
|
|
130
|
+
DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE,
|
|
128
131
|
defineConfig,
|
|
129
132
|
isCloudCapability,
|
|
130
133
|
validateConfig
|
package/build/node/index.js
CHANGED
|
@@ -76,6 +76,7 @@ function makeRelativeToCWD(files = []) {
|
|
|
76
76
|
|
|
77
77
|
// src/constants.ts
|
|
78
78
|
var DEFAULT_TIMEOUT = 1e4;
|
|
79
|
+
var DEFAULT_MAX_INSTANCES_PER_CAPABILITY = 100;
|
|
79
80
|
var DEFAULT_CONFIGS = () => ({
|
|
80
81
|
specs: [],
|
|
81
82
|
suites: {},
|
|
@@ -93,7 +94,7 @@ var DEFAULT_CONFIGS = () => ({
|
|
|
93
94
|
reporters: [],
|
|
94
95
|
services: [],
|
|
95
96
|
maxInstances: 100,
|
|
96
|
-
maxInstancesPerCapability:
|
|
97
|
+
maxInstancesPerCapability: DEFAULT_MAX_INSTANCES_PER_CAPABILITY,
|
|
97
98
|
injectGlobals: true,
|
|
98
99
|
filesToWatch: [],
|
|
99
100
|
connectionRetryTimeout: 12e4,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/config",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.22.0",
|
|
4
4
|
"description": "A helper utility to parse and validate WebdriverIO options",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-config",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@wdio/logger": "9.18.0",
|
|
40
40
|
"@wdio/types": "9.20.0",
|
|
41
|
-
"@wdio/utils": "9.
|
|
41
|
+
"@wdio/utils": "9.22.0",
|
|
42
42
|
"deepmerge-ts": "^7.0.3",
|
|
43
43
|
"glob": "^10.2.2",
|
|
44
44
|
"import-meta-resolve": "^4.0.0"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"minimatch": "^9.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "1c858cd9cfb667283c325c4ac722a0227138acc0"
|
|
53
53
|
}
|