Skip to content

Commit 2a1a410

Browse files
committed
test: polling time add 100ms
1 parent 859501e commit 2a1a410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hooks/src/useRequest/__tests__/polling.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('polling', () => {
4949
pollingResult.run()
5050
expect(pollingResult.loading.value).toBeTruthy()
5151
expect(pollingResult.data?.value).toBeUndefined()
52-
await sleep(1000)
52+
await sleep(1100)
5353
expect(pollingResult.data?.value).toBe(data)
5454
prev = data
5555
await sleep(1000)

0 commit comments

Comments
 (0)