Browse Source

fix thumbnail test

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

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

@@ -613,7 +613,7 @@ describe('src/Core', () => {
       }
       core.emit('file-added', file)
       expect(utils.createThumbnail).toHaveBeenCalledTimes(1)
-      expect(utils.createThumbnail.mock.calls[0][1]).toEqual(200)
+      expect(utils.createThumbnail.mock.calls[0][1]).toEqual(280)
     })
 
     it('should return an object url of the image when file-added is triggered and thumbnail generation is disabled', () => {