-
Notifications
You must be signed in to change notification settings - Fork 146
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
userEvent.setup
API does not return a Promise.
#800
Comments
check if you have a user.click or some user action that is not awaited |
🎉 This issue has been resolved in version 6.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
doochik
added a commit
to doochik/eslint-plugin-testing-library
that referenced
this issue
Oct 24, 2023
1 task
Belco90
added a commit
that referenced
this issue
Nov 9, 2023
…ers (#834) fix(await-async-events): sync userEvent.setup() should not be reported Better fix for #800 Co-authored-by: Mario Beltrán <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you read the Troubleshooting section?
Yes
Plugin version
v6.0.0
ESLint version
v8.47.0
Node.js version
18.17.1
package manager and version
npm 9.6.7
Operating system
macOS Ventura, version 13.5
Bug description
The
await-async-events
rule expects theuserEvent.setup
API to return a Promise.However, the
userEvent.setup
API does not return a Promise.Steps to reproduce
Error output/screenshots
ESLint configuration
.eslintrc.js
Rule(s) affected
await-async-events
Anything else?
No response
Do you want to submit a pull request to fix this bug?
No
The text was updated successfully, but these errors were encountered: