Skip to content

Commit da9e64d

Browse files
committed
Fix jest-dom link
1 parent ecc1ba3 commit da9e64d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ test('increments value on click', async () => {
122122
})
123123
```
124124

125-
> You might want to install [jest-dom][jest-dom] to add handy assertions such as
126-
> `.toBeInTheDocument()`:
125+
> You might want to install [`jest-dom`][jest-dom] to add handy assertions such
126+
> as `.toBeInTheDocument()`. In the example above, you could write
127127
> `expect(screen.queryByText('Times clicked: 0')).toBeInTheDocument()`.
128128
129129
> Using `byText` queries it's not the only nor the best way to query for

0 commit comments

Comments
 (0)