@wdio/cli 9.2.1 → 9.2.2
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/index.js +7 -7
- package/build/run.d.ts.map +1 -1
- package/package.json +8 -8
package/build/index.js
CHANGED
|
@@ -87,7 +87,7 @@ import { HOOK_DEFINITION } from "@wdio/utils";
|
|
|
87
87
|
// package.json
|
|
88
88
|
var package_default = {
|
|
89
89
|
name: "@wdio/cli",
|
|
90
|
-
version: "9.2.
|
|
90
|
+
version: "9.2.1",
|
|
91
91
|
description: "WebdriverIO testrunner command line interface",
|
|
92
92
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
93
93
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
|
|
@@ -1614,7 +1614,7 @@ async function createPackageJSON(parsedAnswers) {
|
|
|
1614
1614
|
if (parsedAnswers.createPackageJSON === false) {
|
|
1615
1615
|
if (!packageJsonExists) {
|
|
1616
1616
|
console.log(`No WebdriverIO configuration found in "${parsedAnswers.wdioConfigPath}"`);
|
|
1617
|
-
return !process.env.
|
|
1617
|
+
return !process.env.WDIO_UNIT_TESTS && process.exit(0);
|
|
1618
1618
|
}
|
|
1619
1619
|
return;
|
|
1620
1620
|
}
|
|
@@ -2678,7 +2678,7 @@ async function missingConfigurationPrompt(command5, configPath, runConfigCmd = r
|
|
|
2678
2678
|
});
|
|
2679
2679
|
if (!config) {
|
|
2680
2680
|
console.log(`No WebdriverIO configuration found in "${process.cwd()}"`);
|
|
2681
|
-
return !process.env.
|
|
2681
|
+
return !process.env.WDIO_UNIT_TESTS && process.exit(0);
|
|
2682
2682
|
}
|
|
2683
2683
|
const parsedAnswers = await parseAnswers(false);
|
|
2684
2684
|
await runConfigCmd(parsedAnswers, "latest");
|
|
@@ -3066,12 +3066,12 @@ function launchWithStdin(wdioConfPath, params) {
|
|
|
3066
3066
|
async function launch(wdioConfPath, params) {
|
|
3067
3067
|
const launcher = new launcher_default(wdioConfPath, params);
|
|
3068
3068
|
return launcher.run().then((...args) => {
|
|
3069
|
-
if (!process.env.
|
|
3069
|
+
if (!process.env.WDIO_UNIT_TESTS) {
|
|
3070
3070
|
process.exit(...args);
|
|
3071
3071
|
}
|
|
3072
3072
|
}).catch((err) => {
|
|
3073
3073
|
console.error(err);
|
|
3074
|
-
if (!process.env.
|
|
3074
|
+
if (!process.env.WDIO_UNIT_TESTS) {
|
|
3075
3075
|
process.exit(1);
|
|
3076
3076
|
}
|
|
3077
3077
|
});
|
|
@@ -3123,7 +3123,7 @@ async function handler3(argv) {
|
|
|
3123
3123
|
NODE_OPTIONS
|
|
3124
3124
|
}
|
|
3125
3125
|
});
|
|
3126
|
-
return !process.env.
|
|
3126
|
+
return !process.env.WDIO_UNIT_TESTS && process.exit(p.exitCode);
|
|
3127
3127
|
}
|
|
3128
3128
|
if (params.watch) {
|
|
3129
3129
|
const watcher = new Watcher(wdioConf.fullPath, params);
|
|
@@ -3220,7 +3220,7 @@ Commands:` }).version(pkg.version).epilogue(CLI_EPILOGUE);
|
|
|
3220
3220
|
console.error(`${output}
|
|
3221
3221
|
|
|
3222
3222
|
${err.stack}`);
|
|
3223
|
-
if (!process.env.
|
|
3223
|
+
if (!process.env.WDIO_UNIT_TESTS) {
|
|
3224
3224
|
process.exit(1);
|
|
3225
3225
|
}
|
|
3226
3226
|
}
|
package/build/run.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAuBA,wBAA8B,GAAG,
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAuBA,wBAA8B,GAAG,0BA+DhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"description": "WebdriverIO testrunner command line interface",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@types/node": "^20.1.1",
|
|
43
43
|
"@vitest/snapshot": "^2.1.1",
|
|
44
|
-
"@wdio/config": "9.
|
|
45
|
-
"@wdio/globals": "9.2.
|
|
44
|
+
"@wdio/config": "9.2.2",
|
|
45
|
+
"@wdio/globals": "9.2.2",
|
|
46
46
|
"@wdio/logger": "9.1.3",
|
|
47
|
-
"@wdio/protocols": "9.2.
|
|
48
|
-
"@wdio/types": "9.
|
|
49
|
-
"@wdio/utils": "9.
|
|
47
|
+
"@wdio/protocols": "9.2.2",
|
|
48
|
+
"@wdio/types": "9.2.2",
|
|
49
|
+
"@wdio/utils": "9.2.2",
|
|
50
50
|
"async-exit-hook": "^2.0.1",
|
|
51
51
|
"chalk": "^5.2.0",
|
|
52
52
|
"chokidar": "^4.0.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"read-pkg-up": "^10.0.0",
|
|
63
63
|
"recursive-readdir": "^2.2.3",
|
|
64
64
|
"tsx": "^4.7.2",
|
|
65
|
-
"webdriverio": "9.2.
|
|
65
|
+
"webdriverio": "9.2.2",
|
|
66
66
|
"yargs": "^17.7.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "a82feee9b819e978b0d75dc899dd8284303935e1"
|
|
82
82
|
}
|