瀏覽代碼

fix thumbnail test

Artur Paikin 7 年之前
父節點
當前提交
fbc08afb22
共有 1 個文件被更改,包括 1 次插入1 次删除
  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', () => {