Skip to content

Commit 5517a20

Browse files
committed
Fix a new test violation
1 parent 91fd843 commit 5517a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/.setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import '@testing-library/jest-dom';
33

44
window.resizeTo = (width, height) => {
55
window.innerWidth = width || window.innerWidth;
6-
window.innerHeight = width || window.innerHeight;
6+
window.innerHeight = height || window.innerHeight;
77
window.dispatchEvent(new Event('resize'));
88
};

0 commit comments

Comments
 (0)