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:
173
173
``` js
174
174
import { useEffect } from ' react'
175
175
import { renderHook } from " react-hooks-testing-library"
176
- import sideEffect from ' ./sideEffect
176
+ import sideEffect from ' ./sideEffect'
177
177
178
178
test (" should clean up side effect" , () => {
179
179
let id = " first"
@@ -200,7 +200,7 @@ clean up the effect, allowing the test to pass as expected:
200
200
``` js
201
201
import { useEffect } from ' react'
202
202
import { renderHook } from " react-hooks-testing-library"
203
- import sideEffect from ' ./sideEffect
203
+ import sideEffect from ' ./sideEffect'
204
204
205
205
test (" should clean up side effect" , () => {
206
206
const { rerender } = renderHook (
You can’t perform that action at this time.
0 commit comments