Skip to content

Commit d65f441

Browse files
committed
remove unnecessary test cleanup
1 parent 8b95637 commit d65f441

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/tests/useQuery-SSR.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
* @jest-environment node
33
*/
44

5-
import { cleanup } from '@testing-library/react'
65
import React from 'react'
76
import { renderToString } from 'react-dom/server'
87
import { usePaginatedQuery, queryCache } from '../index'
98

109
describe('useQuery SSR', () => {
1110
afterEach(() => {
1211
queryCache.clear()
13-
cleanup()
1412
})
1513

1614
// See https://github.com/tannerlinsley/react-query/issues/70

0 commit comments

Comments
 (0)