Browse Source

add `type.mime` to tests

Artur Paikin 7 years ago
parent
commit
7b7aa7d7d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/Core.test.js

+ 1 - 1
src/core/Core.test.js

@@ -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