@wdio/config 8.22.1 → 8.23.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.
|
@@ -40,7 +40,7 @@ export default class ConfigParser {
|
|
|
40
40
|
*/
|
|
41
41
|
async initialize(object = {}) {
|
|
42
42
|
/**
|
|
43
|
-
* only run auto compile functionality once but allow the config parse to be
|
|
43
|
+
* only run auto compile functionality once but allow the config parse to be initialized
|
|
44
44
|
* multiple times, e.g. when used with the packages/wdio-cli/src/watcher.ts
|
|
45
45
|
*/
|
|
46
46
|
if (!this.#isInitialised) {
|
|
@@ -307,7 +307,7 @@ export default class ConfigParser {
|
|
|
307
307
|
*/
|
|
308
308
|
getConfig() {
|
|
309
309
|
if (!this.#isInitialised) {
|
|
310
|
-
throw new Error('ConfigParser was not
|
|
310
|
+
throw new Error('ConfigParser was not initialized, call "await config.initialize()" first!');
|
|
311
311
|
}
|
|
312
312
|
return this._config;
|
|
313
313
|
}
|
|
@@ -316,7 +316,7 @@ export default class ConfigParser {
|
|
|
316
316
|
*/
|
|
317
317
|
getCapabilities(i) {
|
|
318
318
|
if (!this.#isInitialised) {
|
|
319
|
-
throw new Error('ConfigParser was not
|
|
319
|
+
throw new Error('ConfigParser was not initialized, call "await config.initialize()" first!');
|
|
320
320
|
}
|
|
321
321
|
if (typeof i === 'number' && Array.isArray(this._capabilities) && this._capabilities[i]) {
|
|
322
322
|
return this._capabilities[i];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.23.1",
|
|
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",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@wdio/logger": "8.16.17",
|
|
40
|
-
"@wdio/types": "8.
|
|
41
|
-
"@wdio/utils": "8.
|
|
40
|
+
"@wdio/types": "8.23.1",
|
|
41
|
+
"@wdio/utils": "8.23.1",
|
|
42
42
|
"decamelize": "^6.0.0",
|
|
43
43
|
"deepmerge-ts": "^5.0.0",
|
|
44
44
|
"glob": "^10.2.2",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"minimatch": "^9.0.0",
|
|
52
52
|
"tsconfig-paths": "^4.1.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "64633b802ba4d00d23f6531dadc3fc724d8d7dd5"
|
|
55
55
|
}
|