Closed
Description
react-testing-library
version: 9.1.3react
version:node
version: 12.6.0npm
(oryarn
) version: npm 6.9.0
What you did:
Tried to set up project following the CONTRIBUTING.md file.
What happened:
Setup failed with npm run setup -s
fails with Tests should not contain if statements jest/no-if
for the file react-testing-library/src/__tests__/rerender.js
Reproduction:
Run through setup instructions found in CONTRIBUTING.md.
Problem description:
Running npm run setup -s
fails with Tests should not contain if statements jest/no-if
for the file react-testing-library/src/__tests__/rerender.js
Suggested solution:
- Fix the test so it doesn't use
if
statements. - Suppress the rule for this test case.
Metadata
Metadata
Assignees
Labels
No labels