Skip to content

Commit aeadb01

Browse files
committed
fix tests after merge
1 parent 67ac9bd commit aeadb01

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/suspenseHook.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { renderHook, cleanup } from 'src'
1+
import { renderHook } from 'src'
22

33
describe('suspense hook tests', () => {
44
const cache = {}
@@ -31,8 +31,6 @@ describe('suspense hook tests', () => {
3131
delete cache.value
3232
})
3333

34-
afterEach(cleanup)
35-
3634
test('should allow rendering to be suspended', async () => {
3735
const { result, waitForNextUpdate } = renderHook(() => useFetchName(true))
3836

0 commit comments

Comments
 (0)