File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
9999const { returns } = render (< YourComponent / > , { arguments })
100100```
@@ -125,7 +125,7 @@ Unmounts the component from the container and destroys the container.
125125to 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
130130afterEach (() => {
131131 cleanup
@@ -256,7 +256,7 @@ function HiddenMessage({ children }) {
256256import ' @testing-library/jest-dom/extend-expect'
257257
258258import { h } from ' preact'
259- import { render , fireEvent } from ' preact-testing-library-next '
259+ import { render , fireEvent } from ' preact-testing-library'
260260import HiddenMessage from ' ../hidden-message'
261261
262262test (' shows the children when the checkbox is checked' , () => {
You can’t perform that action at this time.
0 commit comments