We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fd843 commit 5517a20Copy full SHA for 5517a20
tests/.setup.js
@@ -3,6 +3,6 @@ import '@testing-library/jest-dom';
3
4
window.resizeTo = (width, height) => {
5
window.innerWidth = width || window.innerWidth;
6
- window.innerHeight = width || window.innerHeight;
+ window.innerHeight = height || window.innerHeight;
7
window.dispatchEvent(new Event('resize'));
8
};
0 commit comments