Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
5
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.0.2 to 21.1.0

6

build/rules/no_disabled_tests.js

@@ -1,2 +0,2 @@

'use strict';
'use strict';Object.defineProperty(exports, "__esModule", { value: true });

@@ -29,5 +29,5 @@

const isCallToTestSkipFunction = callee =>
matchesTestFunction(callee.object) && isPropertyNamedSkip(callee.property);
matchesTestFunction(callee.object) && isPropertyNamedSkip(callee.property);exports.default =
module.exports = context => ({
context => ({
CallExpression(node) {

@@ -34,0 +34,0 @@ const callee = node.callee;

@@ -1,2 +0,2 @@

'use strict';
'use strict';Object.defineProperty(exports, "__esModule", { value: true });

@@ -29,5 +29,5 @@

const isCallToTestOnlyFunction = callee =>
matchesTestFunction(callee.object) && isPropertyNamedOnly(callee.property);
matchesTestFunction(callee.object) && isPropertyNamedOnly(callee.property);exports.default =
module.exports = context => ({
context => ({
CallExpression(node) {

@@ -34,0 +34,0 @@ const callee = node.callee;

@@ -1,2 +0,2 @@

'use strict';
'use strict';Object.defineProperty(exports, "__esModule", { value: true });

@@ -83,5 +83,5 @@

const isFirstArgLiteral = node =>
node.arguments && node.arguments[0] && node.arguments[0].type === 'Literal';
node.arguments && node.arguments[0] && node.arguments[0].type === 'Literal';exports.default =
module.exports = context => {
context => {
const contexts = [newDescribeContext()];

@@ -88,0 +88,0 @@ return {

@@ -1,2 +0,2 @@

'use strict';
'use strict';Object.defineProperty(exports, "__esModule", { value: true });

@@ -29,3 +29,3 @@

* MIT license, Tom Vincent.
*/module.exports = context => {return { CallExpression(node) {const calleeName = node.callee.name;if (calleeName === 'expect') {// checking "expect()" arguments
*/exports.default = context => {return { CallExpression(node) {const calleeName = node.callee.name;if (calleeName === 'expect') {// checking "expect()" arguments
if (node.arguments.length > 1) {const secondArgumentLocStart = node.arguments[1].loc.start;const lastArgumentLocEnd = node.arguments[node.arguments.length - 1].loc.end;

@@ -32,0 +32,0 @@

{
"name": "eslint-plugin-jest",
"version": "21.0.2",
"version": "21.1.0",
"description": "Eslint rules for Jest",

@@ -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