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
prefer-find-by could report presence matchers (.toBeInTheDocument(), toBeDefined(), etc) that are used in conjunction with RTL queries. Currently, prefer-find-by does not report such cases:
MichaelDeBoey
changed the title
Extend prefer-find-by to report waitFor with presence matchers
feat(prefer-find-by): report waitFor with presence matchers
Jul 19, 2021
* feat: report presence matchers
* refactor: split two functions
* refactor: split big if statement
* refactor: split two functions
* refactor: improve variable names
* Add example in docs
* refactor: remove redundant comments
* Refactor else if -> if
* test: add test case with an allowed assertion
Co-authored-by: Michaël De Boey <[email protected]>
Closes#420
Originally mentioned in #411 (comment)
prefer-find-by
could report presence matchers (.toBeInTheDocument()
,toBeDefined()
, etc) that are used in conjunction with RTL queries. Currently,prefer-find-by
does not report such cases:The text was updated successfully, but these errors were encountered: