-
Notifications
You must be signed in to change notification settings - Fork 148
new rule: no-side-effects-wait-for #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sorry, I closed this one by mistake! Thanks again Renato, this suggestion sounds good too. We would have to identify which side effects we want to check here, I guess those from testing library itself. Again, would like to give it a try? PRs are welcome! |
@Belco90 Yes! I was think to add |
Sounds good! |
Just to update! I'm finishing #133 this week and will start work on this one 🚀 |
Awesome, thanks for your help 💪 |
🎉 This issue has been resolved in version 4.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Following the proposed for Kent at his post (https://kentcdodds.com/blog/common-mistakes-with-react-testing-library). I would like to suggest a new rule that detects side effects inside a wait-for:
The text was updated successfully, but these errors were encountered: