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 f4e5f0d commit a69f298Copy full SHA for a69f298
packages/@react-spectrum/s2/test/Picker.test.tsx
@@ -35,6 +35,7 @@ describe('Picker', () => {
35
jest.useFakeTimers();
36
jest.spyOn(window.HTMLElement.prototype, 'clientWidth', 'get').mockImplementation(() => 100);
37
jest.spyOn(window.HTMLElement.prototype, 'clientHeight', 'get').mockImplementation(() => 100);
38
+ jest.spyOn(window.HTMLElement.prototype, 'scrollHeight', 'get').mockImplementation(() => 50);
39
});
40
41
afterEach(() => {
0 commit comments