When passing let image = { name: 'cat.jpg', size: 1000, type: 'image/jpeg' }; Into wrapper.find(Dropzone).simulate('drop', { dataTransfer: { files: images } ...
確定! 回上一頁