Skip to content

Commit a69f298

Browse files
committed
fix picker test
1 parent f4e5f0d commit a69f298

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@react-spectrum/s2/test/Picker.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ describe('Picker', () => {
3535
jest.useFakeTimers();
3636
jest.spyOn(window.HTMLElement.prototype, 'clientWidth', 'get').mockImplementation(() => 100);
3737
jest.spyOn(window.HTMLElement.prototype, 'clientHeight', 'get').mockImplementation(() => 100);
38+
jest.spyOn(window.HTMLElement.prototype, 'scrollHeight', 'get').mockImplementation(() => 50);
3839
});
3940

4041
afterEach(() => {

0 commit comments

Comments
 (0)