Skip to content

Commit

Permalink
[MenuList] Adjust clientHeight test
Browse files Browse the repository at this point in the history
Don't know why the bounding box of
the ref element changed in the browser tests
  • Loading branch information
eps1lon committed Mar 22, 2019
1 parent 4077c2f commit 0e661ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/MenuList/MenuList.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('<MenuList />', () => {
assert.strictEqual(list.style.paddingLeft, '');
assert.strictEqual(list.style.width, '');
menuListActionsRef.current.adjustStyleForScrollbar(
{ clientHeight: 10 },
{ clientHeight: 20 },
{ direction: 'ltr' },
);
assert.strictEqual(list.style.paddingRight, '');
Expand Down

0 comments on commit 0e661ba

Please sign in to comment.