We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b95637 commit d65f441Copy full SHA for d65f441
src/tests/useQuery-SSR.test.js
@@ -2,15 +2,13 @@
2
* @jest-environment node
3
*/
4
5
-import { cleanup } from '@testing-library/react'
6
import React from 'react'
7
import { renderToString } from 'react-dom/server'
8
import { usePaginatedQuery, queryCache } from '../index'
9
10
describe('useQuery SSR', () => {
11
afterEach(() => {
12
queryCache.clear()
13
- cleanup()
14
})
15
16
// See https://github.com/tannerlinsley/react-query/issues/70
0 commit comments