mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix upload.test.js
This commit is contained in:
parent
dd531b8428
commit
d30e398859
@ -28,7 +28,7 @@ describe('Upload', () => {
|
||||
const props = {
|
||||
action: 'http://upload.com',
|
||||
beforeUpload: () => new Promise(resolve =>
|
||||
setTimeout(() => resolve('success'), 1000)
|
||||
setTimeout(() => resolve('success'), 100)
|
||||
),
|
||||
data,
|
||||
onChange: ({ file }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user