eslint-plugin-jest: jest/valid-describe false positive for descibe.each variant
The rule jest/valid-describe
errors for the describe.each
variant:
describe.each([...data])('Something', data => {
// ...
})
leads to:
3:15 error First argument must be name jest/valid-describe
3:15 error Describe requires name and callback arguments jest/valid-describe
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 15 (7 by maintainers)
One step ahead of you š
Iām going to make a quick fix to ignore
each
, and open a new issue to supporteach
.The rule readme actually excludes
each
: