We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecc1ba3 commit da9e64dCopy full SHA for da9e64d
README.md
@@ -122,8 +122,8 @@ test('increments value on click', async () => {
122
})
123
```
124
125
-> You might want to install [jest-dom][jest-dom] to add handy assertions such as
126
-> `.toBeInTheDocument()`:
+> You might want to install [`jest-dom`][jest-dom] to add handy assertions such
+> as `.toBeInTheDocument()`. In the example above, you could write
127
> `expect(screen.queryByText('Times clicked: 0')).toBeInTheDocument()`.
128
129
> Using `byText` queries it's not the only nor the best way to query for
0 commit comments