diff --git a/packages/material-ui/src/Select/Select.test.js b/packages/material-ui/src/Select/Select.test.js index 25f4300475c2cc..7a2313c05277be 100644 --- a/packages/material-ui/src/Select/Select.test.js +++ b/packages/material-ui/src/Select/Select.test.js @@ -196,9 +196,7 @@ describe('); - act(() => { - fireEvent.mouseDown(getByRole('button')); - }); + fireEvent.mouseDown(getByRole('button')); // TODO not matching WAI-ARIA authoring practices. It should focus the first (or selected) item. expect(getByRole('listbox')).to.have.focus; @@ -612,9 +610,7 @@ describe('', () => { const button = getByRole('button'); stub(button, 'clientWidth').get(() => 14); - act(() => { - fireEvent.mouseDown(button); - }); + fireEvent.mouseDown(button); expect(getByTestId('paper').style).to.have.property('minWidth', '14px'); }); @@ -670,9 +664,7 @@ describe('