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
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
The ESLint rule testing-library/prefer-query-by-disappearance is not working when using testing-library-selector (could also be seen as feature request instead of bug report). Would be great to have a way to get it working or have a similar rule. There might be more rules the same applies to, but did not check.
Other information
For example await waitForElementToBeRemoved(byText('Loading content...').get()) is not noticed by ESLint.
The text was updated successfully, but these errors were encountered:
roger-cobalt
changed the title
The ESLint rule testing-libraryprefer-query-by-disappearance is not working for testin-library-selector
The ESLint rule testing-library/prefer-query-by-disappearance is not working for testin-library-selector
Aug 1, 2024
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
The ESLint rule testing-library/prefer-query-by-disappearance is not working when using testing-library-selector (could also be seen as feature request instead of bug report). Would be great to have a way to get it working or have a similar rule. There might be more rules the same applies to, but did not check.
Other information
For example
await waitForElementToBeRemoved(byText('Loading content...').get())
is not noticed by ESLint.The text was updated successfully, but these errors were encountered: