Skip to content

Commit 167f196

Browse files
committed
test: update timings
1 parent cdb2972 commit 167f196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hydration/tests/hydration.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ describe('dehydration and rehydration', () => {
8080
const hydrationClient = new QueryClient({ queryCache: hydrationCache })
8181
hydrate(hydrationClient, parsed)
8282
expect(hydrationCache.find('string')?.state.data).toBe('string')
83-
await sleep(30)
83+
await sleep(10)
8484
expect(hydrationCache.find('string')).toBeTruthy()
85-
await sleep(30)
85+
await sleep(100)
8686
expect(hydrationCache.find('string')).toBeFalsy()
8787

8888
queryClient.clear()

0 commit comments

Comments
 (0)