Skip to content

Commit

Permalink
Fix jest-dom link
Browse files Browse the repository at this point in the history
  • Loading branch information
afontcu committed Jun 20, 2020
1 parent ecc1ba3 commit ab2bc01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ test('increments value on click', async () => {
})
```

> You might want to install [jest-dom][jest-dom] to add handy assertions such as
> `.toBeInTheDocument()`:
> You might want to install [`jest-dom`][jest-dom] to add handy assertions such
> as `.toBeInTheDocument()`:
> `expect(screen.queryByText('Times clicked: 0')).toBeInTheDocument()`.
> Using `byText` queries it's not the only nor the best way to query for
Expand Down

0 comments on commit ab2bc01

Please sign in to comment.