Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 53ff893

Browse files
authored
docs: Use @testing-library/jest-dom in README.md (#172)
* Use `@testing-library/jest-dom` in README.md Instead of `jest-dom` which is now deprecated * Missed a spot
1 parent 8466f70 commit 53ff893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ npm install --save-dev @testing-library/vue
6868
This library has `peerDependencies` listings for `Vue` and
6969
`vue-template-compiler`.
7070

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

7474
## A basic example
@@ -122,7 +122,7 @@ test('increments value on click', async () => {
122122
})
123123
```
124124

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /