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
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.
The text was updated successfully, but these errors were encountered:
react-testing-library
version: 9.1.3react
version:node
version: 12.6.0npm
(oryarn
) version: npm 6.9.0What you did:
Tried to set up project following the CONTRIBUTING.md file.
What happened:
Setup failed with
npm run setup -s
fails withTests should not contain if statements jest/no-if
for the filereact-testing-library/src/__tests__/rerender.js
Reproduction:
Run through setup instructions found in CONTRIBUTING.md.
Problem description:
Running
npm run setup -s
fails withTests should not contain if statements jest/no-if
for the filereact-testing-library/src/__tests__/rerender.js
Suggested solution:
if
statements.The text was updated successfully, but these errors were encountered: