eslint-plugin-jasmine
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -20,3 +20,4 @@ 'use strict' | ||
// matcher was not called | ||
if (node.parent && node.parent.parent && node.parent.parent.type !== 'CallExpression') { | ||
if (node.parent && node.parent.parent && node.parent.parent.type !== 'CallExpression' && | ||
node.parent.parent.type !== 'MemberExpression') { | ||
context.report(node, 'Matcher was not called') | ||
@@ -23,0 +24,0 @@ } |
@@ -54,3 +54,3 @@ { | ||
}, | ||
"version": "2.1.1" | ||
"version": "2.1.2" | ||
} |
@@ -12,3 +12,4 @@ 'use strict' | ||
'expect(true).toBeDefined();', | ||
'expect([1, 2, 3]).toEqual([1, 2, 3]);' | ||
'expect([1, 2, 3]).toEqual([1, 2, 3]);', | ||
'expect(undefined).not.toBeDefined();' | ||
], | ||
@@ -15,0 +16,0 @@ |
Sorry, the diff of this file is not supported yet
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
1357
123296