eslint-plugin-jest 28.0.0-next.3 → 28.0.0-next.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.
|
@@ -29,15 +29,10 @@ var _default = exports.default = (0, _utils2.createRule)({
|
|
|
29
29
|
create(context) {
|
|
30
30
|
return {
|
|
31
31
|
CallExpression(node) {
|
|
32
|
-
|
|
32
|
+
const {
|
|
33
33
|
callee,
|
|
34
34
|
typeArguments
|
|
35
35
|
} = node;
|
|
36
|
-
|
|
37
|
-
/* istanbul ignore next */
|
|
38
|
-
if (!('typeArguments' in node)) {
|
|
39
|
-
typeArguments = node.typeParameters;
|
|
40
|
-
}
|
|
41
36
|
if (callee.type !== _utils.AST_NODE_TYPES.MemberExpression) {
|
|
42
37
|
return;
|
|
43
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-jest",
|
|
3
|
-
"version": "28.0.0-next.
|
|
3
|
+
"version": "28.0.0-next.4",
|
|
4
4
|
"description": "ESLint rules for Jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"@types/eslint": "^8.4.6",
|
|
112
112
|
"@types/jest": "^29.0.0",
|
|
113
113
|
"@types/node": "^14.18.26",
|
|
114
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
115
|
-
"@typescript-eslint/parser": "^
|
|
114
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
115
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
116
116
|
"babel-jest": "^29.0.0",
|
|
117
117
|
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|
118
118
|
"dedent": "^1.5.0",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"typescript": "^5.0.4"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
145
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
145
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0 || ^7.0.0",
|
|
146
146
|
"eslint": "^7.0.0 || ^8.0.0",
|
|
147
147
|
"jest": "*"
|
|
148
148
|
},
|