@wdio/mocha-framework 9.0.0 → 9.0.4
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 +4 -1
- package/build/index.js +4 -1
- package/package.json +6 -6
package/build/common.js
CHANGED
|
@@ -108,7 +108,10 @@ function setupEnv(cid, options, beforeTest, beforeHook, afterTest, afterHook) {
|
|
|
108
108
|
}
|
|
109
109
|
async function loadModule(name) {
|
|
110
110
|
try {
|
|
111
|
-
return await import(
|
|
111
|
+
return await import(
|
|
112
|
+
/* @vite-ignore */
|
|
113
|
+
name
|
|
114
|
+
);
|
|
112
115
|
} catch (err) {
|
|
113
116
|
throw new Error(`Module ${name} can't get loaded. Are you sure you have installed it?
|
|
114
117
|
Note: if you've installed WebdriverIO globally you need to install these external modules globally too!`);
|
package/build/index.js
CHANGED
|
@@ -133,7 +133,10 @@ function setupEnv(cid, options, beforeTest, beforeHook, afterTest, afterHook) {
|
|
|
133
133
|
}
|
|
134
134
|
async function loadModule(name) {
|
|
135
135
|
try {
|
|
136
|
-
return await import(
|
|
136
|
+
return await import(
|
|
137
|
+
/* @vite-ignore */
|
|
138
|
+
name
|
|
139
|
+
);
|
|
137
140
|
} catch (err) {
|
|
138
141
|
throw new Error(`Module ${name} can't get loaded. Are you sure you have installed it?
|
|
139
142
|
Note: if you've installed WebdriverIO globally you need to install these external modules globally too!`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/mocha-framework",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
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",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git://github.com/webdriverio/webdriverio.git",
|
|
13
|
+
"url": "git+https://github.com/webdriverio/webdriverio.git",
|
|
14
14
|
"directory": "packages/wdio-mocha-framework"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
@@ -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.0.
|
|
42
|
-
"@wdio/types": "9.0.
|
|
43
|
-
"@wdio/utils": "9.0.
|
|
41
|
+
"@wdio/logger": "9.0.4",
|
|
42
|
+
"@wdio/types": "9.0.4",
|
|
43
|
+
"@wdio/utils": "9.0.4",
|
|
44
44
|
"mocha": "^10.3.0"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "1f3d6f781391548e8672e768e72b3d5c499a3aa7"
|
|
50
50
|
}
|