|
@ -261,8 +261,8 @@ describe('Upload List', () => { |
|
|
</Upload> |
|
|
</Upload> |
|
|
); |
|
|
); |
|
|
wrapper.setState({}); |
|
|
wrapper.setState({}); |
|
|
await delay(200); |
|
|
await delay(0); |
|
|
expect(wrapper.state().fileList[2].thumbUrl).not.toBeFalsy(); |
|
|
expect(wrapper.state().fileList[2].thumbUrl).not.toBe(undefined); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
it('should non-image format file preview', () => { |
|
|
it('should non-image format file preview', () => { |
|
|