Skip to content

Use @testing-library/jest-dom in README.md #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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