Skip to content

Commit

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

> You might want to install jest-dom[jest-dom] to add handy assertions such as
> 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
> elements. Read
> [Which query should I use?](https://testing-library.com/docs/guide-which-query)
> to discover alternatives. In the example above,
> `getByRole('button', {name: 'increment'})` is possibly the best option to get
> the button element.
> elements. Read [Which query should I use?][which-query] to discover
> alternatives. In the example above, `getByRole('button', {name: 'increment'})`
> is possibly the best option to get the button element.
### More examples

Expand Down Expand Up @@ -251,6 +249,7 @@ instead of filling an issue on GitHub.
[types]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__vue
[discord]: https://testing-library.com/discord
[jest-dom]: https://github.com/testing-library/jest-dom
[which-query]: https://testing-library.com/docs/guide-which-query
[guiding-principle]: https://twitter.com/kentcdodds/status/977018512689455106

[docs]: https://testing-library.com/vue
Expand Down

0 comments on commit ecc1ba3

Please sign in to comment.