@wdio/globals
Advanced tools
Comparing version 8.0.0-alpha.412 to 8.0.0-alpha.504
@@ -38,2 +38,9 @@ /// <reference path="../types.d.ts" /> | ||
}); | ||
expect.extend = (...args) => { | ||
if (!globals.has('expect')) { | ||
throw new Error(GLOBALS_ERROR_MESSAGE); | ||
} | ||
const expect = globals.get('expect'); | ||
return expect.extend(...args); | ||
}; | ||
/** | ||
@@ -40,0 +47,0 @@ * allows to set global property to be imported and used later on |
{ | ||
"name": "@wdio/globals", | ||
"version": "8.0.0-alpha.412+a2bc7ec67", | ||
"version": "8.0.0-alpha.504+428a9d729", | ||
"description": "A helper utility for importing global variables directly", | ||
@@ -33,5 +33,5 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"expect-webdriverio": "^4.0.0-alpha.3", | ||
"webdriverio": "8.0.0-alpha.412+a2bc7ec67" | ||
"webdriverio": "8.0.0-alpha.504+428a9d729" | ||
}, | ||
"gitHead": "a2bc7ec67e2a5fe000e539f44b0ea97f6e08ccbd" | ||
"gitHead": "428a9d729ae6231968a60908732fa3f607d195e9" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
7197
106