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 859501e commit 2a1a410Copy full SHA for 2a1a410
packages/hooks/src/useRequest/__tests__/polling.spec.ts
@@ -49,7 +49,7 @@ describe('polling', () => {
49
pollingResult.run()
50
expect(pollingResult.loading.value).toBeTruthy()
51
expect(pollingResult.data?.value).toBeUndefined()
52
- await sleep(1000)
+ await sleep(1100)
53
expect(pollingResult.data?.value).toBe(data)
54
prev = data
55
await sleep(1000)
0 commit comments