Fix upload.test.js

This commit is contained in:
afc163 2017-11-09 19:34:36 +08:00
parent dd531b8428
commit d30e398859

View File

@ -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 }) => {