expect-webdriverio 3.3.2 → 3.4.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/lib/addMatchers.js +1 -1
- package/package.json +14 -14
- package/types/standalone.d.ts +1 -1
package/lib/addMatchers.js
CHANGED
|
@@ -8,7 +8,7 @@ const isJasmine = () => {
|
|
|
8
8
|
exports.isJasmine = isJasmine;
|
|
9
9
|
const loadExpect = () => {
|
|
10
10
|
try {
|
|
11
|
-
return expectLib = require('expect');
|
|
11
|
+
return expectLib = require('expect').expect;
|
|
12
12
|
}
|
|
13
13
|
catch (err) {
|
|
14
14
|
return console.error('Failed to load expect package. Make sure it has been installed: npm i expect');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expect-webdriverio",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -42,27 +42,27 @@
|
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://github.com/webdriverio/expect-webdriverio#readme",
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@types/jasmine": "^4.0.
|
|
46
|
-
"@types/jest": "^27.
|
|
45
|
+
"@types/jasmine": "^4.0.3",
|
|
46
|
+
"@types/jest": "^27.5.1",
|
|
47
47
|
"@types/node": "^15.14.0",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
49
|
-
"@typescript-eslint/parser": "^5.
|
|
50
|
-
"eslint": "^8.
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
49
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
50
|
+
"eslint": "^8.15.0",
|
|
51
51
|
"husky": "^8.0.1",
|
|
52
|
-
"jest": "^
|
|
52
|
+
"jest": "^28.1.0",
|
|
53
53
|
"npm-run-all": "^4.1.5",
|
|
54
54
|
"release-it": "^15.0.0",
|
|
55
55
|
"rimraf": "^3.0.2",
|
|
56
|
-
"shelljs": "^0.8.
|
|
57
|
-
"ts-jest": "^
|
|
58
|
-
"ts-node": "^10.
|
|
59
|
-
"typescript": "^4.
|
|
60
|
-
"webdriverio": "^7.
|
|
56
|
+
"shelljs": "^0.8.5",
|
|
57
|
+
"ts-jest": "^28.0.2",
|
|
58
|
+
"ts-node": "^10.7.0",
|
|
59
|
+
"typescript": "^4.6.4",
|
|
60
|
+
"webdriverio": "^7.19.7"
|
|
61
61
|
},
|
|
62
62
|
"types": "types/jest-global.d.ts",
|
|
63
63
|
"typeScriptVersion": "3.8.3",
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"expect": "^
|
|
66
|
-
"jest-matcher-utils": "^28.0
|
|
65
|
+
"expect": "^28.1.0",
|
|
66
|
+
"jest-matcher-utils": "^28.1.0"
|
|
67
67
|
}
|
|
68
68
|
}
|
package/types/standalone.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="expect-webdriverio/types/expect-webdriverio"/>
|
|
2
2
|
|
|
3
3
|
declare namespace ExpectWebdriverIO {
|
|
4
|
-
interface Matchers<R, T> extends Readonly<import('expect
|
|
4
|
+
interface Matchers<R, T> extends Readonly<import('expect').Matchers<R>> {
|
|
5
5
|
not: Matchers<R, T>
|
|
6
6
|
resolves: Matchers<Promise<R>, T>
|
|
7
7
|
rejects: Matchers<Promise<R>, T>
|