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 a378f1a commit 7a222c3Copy full SHA for 7a222c3
tests/setup.js
@@ -11,7 +11,7 @@ if (typeof window !== 'undefined') {
11
global.window.innerHeight = height || global.window.innerHeight;
12
global.window.dispatchEvent(new Event('resize'));
13
};
14
- global.window.scrollTo = () => { };
+ global.window.scrollTo = () => {};
15
// ref: https://github.com/ant-design/ant-design/issues/18774
16
if (!window.matchMedia) {
17
Object.defineProperty(global.window, 'matchMedia', {
0 commit comments