@wdio/cli 9.4.4 → 9.5.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/index.js +2 -2
- package/package.json +7 -7
package/build/index.js
CHANGED
|
@@ -2138,7 +2138,7 @@ Shard: ${this._config.shard.current} / ${this._config.shard.total}` : "",
|
|
|
2138
2138
|
|
|
2139
2139
|
// src/launcher.ts
|
|
2140
2140
|
var log3 = logger3("@wdio/cli:launcher");
|
|
2141
|
-
var TS_FILE_EXTENSIONS = [".ts", ".tsx"];
|
|
2141
|
+
var TS_FILE_EXTENSIONS = [".ts", ".tsx", ".mts", ".cts"];
|
|
2142
2142
|
var Launcher = class {
|
|
2143
2143
|
constructor(_configFilePath, _args = {}, _isWatchMode = false) {
|
|
2144
2144
|
this._configFilePath = _configFilePath;
|
|
@@ -2494,7 +2494,7 @@ var Launcher = class {
|
|
|
2494
2494
|
async _endHandler({ cid: rid, exitCode, specs, retries }) {
|
|
2495
2495
|
const passed = this._isWatchModeHalted() || exitCode === 0;
|
|
2496
2496
|
if (!passed && retries > 0) {
|
|
2497
|
-
const requeue = this.configParser.getConfig().specFileRetriesDeferred
|
|
2497
|
+
const requeue = this.configParser.getConfig().specFileRetriesDeferred ? "push" : "unshift";
|
|
2498
2498
|
this._schedule[parseInt(rid, 10)].specs[requeue]({ files: specs, retries: retries - 1, rid });
|
|
2499
2499
|
} else {
|
|
2500
2500
|
this._exitCode = this._isWatchModeHalted() ? 0 : this._exitCode || exitCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
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.
|
|
44
|
+
"@wdio/config": "9.5.0",
|
|
45
|
+
"@wdio/globals": "9.5.0",
|
|
46
46
|
"@wdio/logger": "9.4.4",
|
|
47
47
|
"@wdio/protocols": "9.4.4",
|
|
48
|
-
"@wdio/types": "9.
|
|
49
|
-
"@wdio/utils": "9.
|
|
48
|
+
"@wdio/types": "9.5.0",
|
|
49
|
+
"@wdio/utils": "9.5.0",
|
|
50
50
|
"async-exit-hook": "^2.0.1",
|
|
51
51
|
"chalk": "^5.2.0",
|
|
52
52
|
"chokidar": "^4.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"read-pkg-up": "^10.0.0",
|
|
62
62
|
"recursive-readdir": "^2.2.3",
|
|
63
63
|
"tsx": "^4.7.2",
|
|
64
|
-
"webdriverio": "9.
|
|
64
|
+
"webdriverio": "9.5.0",
|
|
65
65
|
"yargs": "^17.7.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "379782cd89707c184a038d6702b46b852817803a"
|
|
81
81
|
}
|