Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Maj committed Feb 19, 2019
1 parent c0f2d3d commit 849675d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __mocks__/_failing_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
}),
};

0 comments on commit 849675d

Please sign in to comment.