eslint-plugin-testing-library
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -89,2 +89,5 @@ "use strict"; | ||
(isUserEventEnabled && helpers.isUserEventMethod(node))) { | ||
if (node.name === USER_EVENT_SETUP_FUNCTION_NAME) { | ||
return; | ||
} | ||
detectEventMethodWrapper(node); | ||
@@ -95,5 +98,2 @@ const closestCallExpression = (0, node_utils_1.findClosestCallExpressionNode)(node, true); | ||
} | ||
if (node.name === USER_EVENT_SETUP_FUNCTION_NAME) { | ||
return; | ||
} | ||
const references = (0, node_utils_1.getVariableReferences)(context, closestCallExpression.parent); | ||
@@ -100,0 +100,0 @@ if (references.length === 0) { |
{ | ||
"name": "eslint-plugin-testing-library", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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