Socket
Socket
Sign inDemoInstall

eslint-plugin-testing-library

Package Overview
Dependencies
Maintainers
2
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-testing-library - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

6

dist/rules/await-async-events.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc