Skip to content
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

The ESLint rule testing-library/prefer-query-by-disappearance is not working for testin-library-selector #8

Open
roger-cobalt opened this issue Aug 1, 2024 · 0 comments

Comments

@roger-cobalt
Copy link

roger-cobalt commented 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.

@roger-cobalt 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant