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
-1 if the suggestion is to make .getBy*() not throw errors on missing elements
Keeping semantic compatibility with react-testing-library would seem like a high priority (for developers using both), and I know I'm writing tests that "implicitly assert" by just calling eg .getByText()
And why wouldn't it be ok to just use .queryBy*() for potentially missing elements (like react-testing-library)?
Uh oh!
There was an error while loading. Please reload this page.
testing-library/dom-testing-library#202 (comment)
The text was updated successfully, but these errors were encountered: