diff --git a/__mocks__/_failing_page.js b/__mocks__/_failing_page.js index 5417a6de6..e42ecf936 100644 --- a/__mocks__/_failing_page.js +++ b/__mocks__/_failing_page.js @@ -14,5 +14,7 @@ export default { height: 800, rotation: 0, }), - render: () => new Promise((resolve, reject) => reject(new Error())), + render: () => ({ + promise: new Promise((resolve, reject) => reject(new Error())), + }), };