diff --git a/jest/setup.js b/jest/setup.js index e422cb64460d95..f925e3fc037cf7 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -231,7 +231,7 @@ jest reload: jest.fn(), }, ImageLoader: { - getSize: jest.fn(url => Promise.resolve({width: 320, height: 240})), + getSize: jest.fn(url => Promise.resolve([320, 240])), prefetchImage: jest.fn(), }, ImageViewManager: {