Skip to content

Commit 118150f

Browse files
committed
docs(readme): clean up old lib references
1 parent 3b8b431 commit 118150f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This library has `peerDependencies` listings for `preact`.
9494
### `render`
9595

9696
```jsx
97-
import { render } from 'preact-testing-library-next'
97+
import { render } from 'preact-testing-library'
9898

9999
const { returns } = render(<YourComponent />, { arguments })
100100
```
@@ -125,7 +125,7 @@ Unmounts the component from the container and destroys the container.
125125
to disable this then set `process.env.PTL_SKIP_AUTO_CLEANUP` to true when running your tests.
126126

127127
```jsx
128-
import { render, cleanup } from 'preact-testing-library-next'
128+
import { render, cleanup } from 'preact-testing-library'
129129

130130
afterEach(() => {
131131
cleanup
@@ -256,7 +256,7 @@ function HiddenMessage({ children }) {
256256
import '@testing-library/jest-dom/extend-expect'
257257

258258
import { h } from 'preact'
259-
import { render, fireEvent } from 'preact-testing-library-next'
259+
import { render, fireEvent } from 'preact-testing-library'
260260
import HiddenMessage from '../hidden-message'
261261

262262
test('shows the children when the checkbox is checked', () => {

0 commit comments

Comments
 (0)