Skip to content

Commit 9c47a0d

Browse files
committed
test: update timings in hydration cache time test
1 parent 02b2493 commit 9c47a0d

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
@@ -79,9 +79,9 @@ describe('dehydration and rehydration', () => {
7979
const hydrationCache = new QueryCache()
8080
hydrate(hydrationCache, parsed)
8181
expect(hydrationCache.find('string')?.state.data).toBe('string')
82-
await sleep(40)
82+
await sleep(30)
8383
expect(hydrationCache.find('string')).toBeTruthy()
84-
await sleep(20)
84+
await sleep(30)
8585
expect(hydrationCache.find('string')).toBeFalsy()
8686

8787
cache.clear()

0 commit comments

Comments
 (0)