You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My linter crashes occasionally when using prefer-to-be-null with an expectation without a value.
Cannot read property 'value' of undefined
TypeError: Cannot read property 'value' of undefined
at expectToEqualCase (/project/node_modules/eslint-plugin-jest/rules/util.js:40:17)
at CallExpression (/project/node_modules/eslint-plugin-jest/rules/prefer_to_be_null.js:10:41)
at listeners.(anonymous function).forEach.listener (/project/node_modules/eslint/lib/util/safe-emitter.js:47:58)
at Array.forEach (native)
at Object.emit (/project/node_modules/eslint/lib/util/safe-emitter.js:47:38)
at NodeEventGenerator.applySelector (/project/node_modules/eslint/lib/util/node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (/project/node_modules/eslint/lib/util/node-event-generator.js:280:22)
at NodeEventGenerator.enterNode (/project/node_modules/eslint/lib/util/node-event-generator.js:294:14)
at CodePathAnalyzer.enterNode (/project/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:608:23)
at Traverser.enter (/project/node_modules/eslint/lib/linter.js:956:32)
expect(store.getFilters()).toEqual();
The text was updated successfully, but these errors were encountered:
xfumihiro
added a commit
to xfumihiro/eslint-plugin-jest
that referenced
this issue
Dec 5, 2017
My linter crashes occasionally when using
prefer-to-be-null
with an expectation without a value.The text was updated successfully, but these errors were encountered: