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 f36c736 commit 4b233f7Copy full SHA for 4b233f7
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