add type.mime to tests

This commit is contained in:
Artur Paikin 2017-09-14 22:50:14 -04:00
parent 4a85a4d1e0
commit 7b7aa7d7d9

View file

@ -534,7 +534,7 @@ describe('src/Core', () => {
remote: '',
size: 17175,
source: 'jest',
type: { general: 'image', specific: 'jpeg' }
type: { general: 'image', specific: 'jpeg', mime: 'image/jpeg' }
}
expect(core.state.files[fileId]).toEqual(newFile)
newFile.preview = undefined // not sure why this happens.. needs further investigation