eslint-plugin-jest
Advanced tools
Comparing version 21.26.1 to 21.26.2
{ | ||
"name": "eslint-plugin-jest", | ||
"version": "21.26.1", | ||
"version": "21.26.2", | ||
"description": "Eslint rules for Jest", | ||
@@ -5,0 +5,0 @@ "repository": "jest-community/eslint-plugin-jest", |
@@ -66,3 +66,7 @@ 'use strict'; | ||
}, | ||
{ | ||
code: 'fit.each()', | ||
errors: [{ message: expectedErrorMessage, column: 1, line: 1 }], | ||
}, | ||
], | ||
}); |
@@ -34,2 +34,13 @@ 'use strict'; | ||
if ( | ||
callee.object.type === 'Identifier' && | ||
isCallToFocusedTestFunction(callee.object) | ||
) { | ||
context.report({ | ||
message: 'Unexpected focused test.', | ||
node: callee.object, | ||
}); | ||
return; | ||
} | ||
if ( | ||
callee.object.type === 'MemberExpression' && | ||
@@ -36,0 +47,0 @@ isCallToTestOnlyFunction(callee.object) |
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
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
182337
5192