eslint-plugin-jasmine
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -1,2 +0,2 @@ | ||
# Enfore expectation (missing-expect) | ||
# Enforce expectation (missing-expect) | ||
@@ -3,0 +3,0 @@ A test which doesn't make any expectations doesn't really test anything. |
@@ -7,4 +7,4 @@ 'use strict'; | ||
return { | ||
'Identifier': function(node) { | ||
var result = node.name.match(regex); | ||
'CallExpression': function(node) { | ||
var result = node.callee && node.callee.name.match(regex); | ||
@@ -11,0 +11,0 @@ if (result) { |
@@ -37,3 +37,3 @@ { | ||
}, | ||
"version": "1.5.0" | ||
"version": "1.5.1" | ||
} |
@@ -11,3 +11,4 @@ 'use strict'; | ||
'describe("", function() {})', | ||
'describe("", function() { it("", function() {} ) })' | ||
'describe("", function() { it("", function() {} ) })', | ||
'x = {a: xdescribe}' | ||
], | ||
@@ -21,3 +22,3 @@ | ||
message: 'Unexpected xdescribe.', | ||
type: 'Identifier' | ||
type: 'CallExpression' | ||
} | ||
@@ -31,3 +32,3 @@ ] | ||
message: 'Unexpected xit.', | ||
type: 'Identifier' | ||
type: 'CallExpression' | ||
} | ||
@@ -34,0 +35,0 @@ ] |
@@ -11,3 +11,4 @@ 'use strict'; | ||
'describe("", function() {})', | ||
'describe("", function() { it("", function() {} ) })' | ||
'describe("", function() { it("", function() {} ) })', | ||
'x = {a: ddescribe}' | ||
], | ||
@@ -21,3 +22,3 @@ | ||
message: 'Unexpected ddescribe.', | ||
type: 'Identifier' | ||
type: 'CallExpression' | ||
} | ||
@@ -31,3 +32,3 @@ ] | ||
message: 'Unexpected iit.', | ||
type: 'Identifier' | ||
type: 'CallExpression' | ||
} | ||
@@ -41,3 +42,3 @@ ] | ||
message: 'Unexpected fdescribe.', | ||
type: 'Identifier' | ||
type: 'CallExpression' | ||
} | ||
@@ -51,3 +52,3 @@ ] | ||
message: 'Unexpected fit.', | ||
type: 'Identifier' | ||
type: 'CallExpression' | ||
} | ||
@@ -54,0 +55,0 @@ ] |
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
34837
913