Skip to content

Commit

Permalink
docs: Use @testing-library/jest-dom in README.md (#172)
Browse files Browse the repository at this point in the history
* Use `@testing-library/jest-dom` in README.md

Instead of `jest-dom` which is now deprecated

* Missed a spot
  • Loading branch information
vdsabev authored Nov 14, 2020
1 parent 8466f70 commit 53ff893
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 @@ -68,7 +68,7 @@ npm install --save-dev @testing-library/vue
This library has `peerDependencies` listings for `Vue` and
`vue-template-compiler`.

You may also be interested in installing `jest-dom` so you can use [the custom
You may also be interested in installing `@testing-library/jest-dom` so you can use [the custom
Jest matchers][jest-dom].

## A basic example
Expand Down Expand Up @@ -122,7 +122,7 @@ test('increments value on click', async () => {
})
```

> You might want to install [`jest-dom`][jest-dom] to add handy assertions such
> You might want to install [`@testing-library/jest-dom`][jest-dom] to add handy assertions such
> as `.toBeInTheDocument()`. In the example above, you could write
> `expect(screen.queryByText('Times clicked: 0')).toBeInTheDocument()`.
Expand Down

0 comments on commit 53ff893

Please sign in to comment.