@wdio/globals 9.23.0 → 9.26.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.cjs +2 -2
- package/build/index.js +2 -2
- package/package.json +3 -3
package/build/index.cjs
CHANGED
|
@@ -77,12 +77,12 @@ var $$ = (...args) => {
|
|
|
77
77
|
}
|
|
78
78
|
return globals.get("$$")(...args);
|
|
79
79
|
};
|
|
80
|
-
var expect = (...args) => {
|
|
80
|
+
var expect = ((...args) => {
|
|
81
81
|
if (!globals.has("expect")) {
|
|
82
82
|
throw new Error(GLOBALS_ERROR_MESSAGE);
|
|
83
83
|
}
|
|
84
84
|
return globals.get("expect")(...args);
|
|
85
|
-
};
|
|
85
|
+
});
|
|
86
86
|
var ASYNC_MATCHERS = [
|
|
87
87
|
"any",
|
|
88
88
|
"anything",
|
package/build/index.js
CHANGED
|
@@ -45,12 +45,12 @@ var $$ = (...args) => {
|
|
|
45
45
|
}
|
|
46
46
|
return globals.get("$$")(...args);
|
|
47
47
|
};
|
|
48
|
-
var expect = (...args) => {
|
|
48
|
+
var expect = ((...args) => {
|
|
49
49
|
if (!globals.has("expect")) {
|
|
50
50
|
throw new Error(GLOBALS_ERROR_MESSAGE);
|
|
51
51
|
}
|
|
52
52
|
return globals.get("expect")(...args);
|
|
53
|
-
};
|
|
53
|
+
});
|
|
54
54
|
var ASYNC_MATCHERS = [
|
|
55
55
|
"any",
|
|
56
56
|
"anything",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/globals",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.26.0",
|
|
4
4
|
"description": "A helper utility for importing global variables directly",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-globals",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"expect-webdriverio": "^5.
|
|
43
|
+
"expect-webdriverio": "^5.6.5",
|
|
44
44
|
"webdriverio": "^9.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"optional": false
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "974fb5ead9fe6738af6f5e2306224036de552f33"
|
|
55
55
|
}
|