File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ value changes for both the setup and cleanup of the `useEffect` call:
173173``` js
174174import { useEffect } from ' react'
175175import { renderHook } from " react-hooks-testing-library"
176- import sideEffect from ' ./sideEffect
176+ import sideEffect from ' ./sideEffect'
177177
178178test (" should clean up side effect" , () => {
179179 let id = " first"
@@ -200,7 +200,7 @@ clean up the effect, allowing the test to pass as expected:
200200``` js
201201import { useEffect } from ' react'
202202import { renderHook } from " react-hooks-testing-library"
203- import sideEffect from ' ./sideEffect
203+ import sideEffect from ' ./sideEffect'
204204
205205test (" should clean up side effect" , () => {
206206 const { rerender } = renderHook (
You can’t perform that action at this time.
0 commit comments