eslint-plugin-jest
Advanced tools
Comparing version 21.0.2 to 21.1.0
@@ -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": [ |
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
21460