eslint-plugin-jest 26.8.3 → 26.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
  <a href="https://eslint.org/">
3
- <img width="150" height="150" src="https://eslint.org/assets/images/logo/eslint-logo-color.svg">
3
+ <img height="150" src="https://eslint.org/assets/images/logo/eslint-logo-color.svg">
4
4
  </a>
5
5
  <a href="https://facebook.github.io/jest/">
6
6
  <img width="150" height="150" vspace="" hspace="25" src="https://jestjs.io/img/jest.png">
@@ -95,7 +95,7 @@ var _default = (0, _utils2.createRule)({
95
95
  } else if (mockFnName === withOnce('mockImplementation', isOnce)) {
96
96
  const [arg] = node.arguments;
97
97
 
98
- if (!(0, _utils2.isFunction)(arg)) {
98
+ if (!(0, _utils2.isFunction)(arg) || arg.params.length !== 0) {
99
99
  return;
100
100
  }
101
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-jest",
3
- "version": "26.8.3",
3
+ "version": "26.8.4",
4
4
  "description": "ESLint rules for Jest",
5
5
  "keywords": [
6
6
  "eslint",