Socket
Socket
Sign inDemoInstall

eslint-plugin-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jasmine - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

3

lib/rules/valid-expect.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc