Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
11
Versions
325
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest - npm Package Compare versions

Comparing version 21.26.1 to 21.26.2

2

package.json
{
"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)

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