Skip to content

Commit 0fef1e2

Browse files
chrishelgertquantizor
authored andcommitted
Update usage with react-testing-library (#261)
* Correct the package name * Updated the link
1 parent d140dd0 commit 0fef1e2

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
@@ -224,10 +224,10 @@ test('it works', () => {
224224

225225
## react-testing-library
226226

227-
To generate snapshots with [react-testing-library](https://github.com/kentcdodds/react-testing-library), you can follow the example below:
227+
To generate snapshots with [react-testing-library](https://github.com/testing-library/react-testing-library), you can follow the example below:
228228

229229
```js
230-
import { render } from 'react-testing-library'
230+
import { render } from '@testing-library/react'
231231

232232
test('it works', () => {
233233
const { container } = render(<Button />)

0 commit comments

Comments
 (0)