@wdio/mocha-framework 9.17.0 → 9.18.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/common.js +1 -1
- package/build/index.js +1 -1
- package/package.json +4 -4
package/build/common.js
CHANGED
|
@@ -79,7 +79,7 @@ function requireExternalModules(mods, loader = loadModule) {
|
|
|
79
79
|
if (!mod) {
|
|
80
80
|
return Promise.resolve();
|
|
81
81
|
}
|
|
82
|
-
mod = mod.
|
|
82
|
+
mod = mod.includes(":") ? mod.substring(mod.lastIndexOf(":") + 1) : mod;
|
|
83
83
|
if (mod.startsWith("./") && globalThis.process) {
|
|
84
84
|
mod = `${globalThis.process.cwd()}/${mod.slice(2)}`;
|
|
85
85
|
}
|
package/build/index.js
CHANGED
|
@@ -104,7 +104,7 @@ function requireExternalModules(mods, loader = loadModule) {
|
|
|
104
104
|
if (!mod) {
|
|
105
105
|
return Promise.resolve();
|
|
106
106
|
}
|
|
107
|
-
mod = mod.
|
|
107
|
+
mod = mod.includes(":") ? mod.substring(mod.lastIndexOf(":") + 1) : mod;
|
|
108
108
|
if (mod.startsWith("./") && globalThis.process) {
|
|
109
109
|
mod = `${globalThis.process.cwd()}/${mod.slice(2)}`;
|
|
110
110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/mocha-framework",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.18.0",
|
|
4
4
|
"description": "A WebdriverIO plugin. Adapter for Mocha testing framework.",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-mocha-framework",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@types/mocha": "^10.0.6",
|
|
40
40
|
"@types/node": "^20.11.28",
|
|
41
|
-
"@wdio/logger": "9.
|
|
41
|
+
"@wdio/logger": "9.18.0",
|
|
42
42
|
"@wdio/types": "9.16.2",
|
|
43
|
-
"@wdio/utils": "9.
|
|
43
|
+
"@wdio/utils": "9.18.0",
|
|
44
44
|
"mocha": "^10.3.0"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a515cdf9ce892da87708c290dd2b05b051bbe602"
|
|
50
50
|
}
|