Skip to content

Commit 0e661ba

Browse files
committed
[MenuList] Adjust clientHeight test
Don't know why the bounding box of the ref element changed in the browser tests
1 parent 4077c2f commit 0e661ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-ui/src/MenuList/MenuList.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('<MenuList />', () => {
7272
assert.strictEqual(list.style.paddingLeft, '');
7373
assert.strictEqual(list.style.width, '');
7474
menuListActionsRef.current.adjustStyleForScrollbar(
75-
{ clientHeight: 10 },
75+
{ clientHeight: 20 },
7676
{ direction: 'ltr' },
7777
);
7878
assert.strictEqual(list.style.paddingRight, '');

0 commit comments

Comments
 (0)