-
Notifications
You must be signed in to change notification settings - Fork 147
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
False positive for testing-library/await-async-query
?
#359
Comments
Hi @luhmann! Thank you for your detailed explanation of the issue, it's really helpful. This is a legitimate bug indeed! I'll take care of this one and get back when I find something in the upcoming days. Thanks! |
🎉 This issue has been resolved in version 4.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@eppisapiafsl That's not exactly the same problem. It was reported in #673. |
Thanks @Belco90 |
Problem
I upgraded from version
3.10.2
to version4.1.2
and am now getting errors forawait-async-query
that I cannot really explain. I read the migration guide to v4 and as far as I can see there is nothing wrong with my code. So I thought I would open this issue.This is a minimal example of the issue, it popped up all over my codebase
With
4.1.2
I get linting errors forawait-async-query
on my testdata, but only on some of it:As you can see in the screenshot there is not linting error on
testData.name
, but there are ontestData.email
andtestData.password
.What I cannot figure out is:
testData
-object, which does not use promisesWhat I tried
getByRole
-Queries instead offindByRole
=> fixes the issue, but is not really what I wantVersions/Config
Config
Thank you for your help!
The text was updated successfully, but these errors were encountered: