Closed
Description
I've seen people using queryBy
as assertions in their tests:
screen.queryByText("Account")
This is not the right way to use it because the test won't fail whether the text is there or not.
Would it be possible to extend the prefer-explicit-assert
rule in order to disallow the use of queryBy
as assertions as well?