Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 25, 2020
1 parent 4a4d3ce commit 27c01fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/material-ui/src/Autocomplete/Autocomplete.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1477,10 +1477,8 @@ describe('<Autocomplete />', () => {
});

it('should mantain list box open clicking on input when it is not empty', () => {
const handleHighlightChange = spy();
const { getByRole, getAllByRole } = render(
<Autocomplete
onHighlightChange={handleHighlightChange}
options={['one']}
renderInput={(params) => <TextField {...params} />}
/>,
Expand All @@ -1501,11 +1499,9 @@ describe('<Autocomplete />', () => {
});

it('should not toggle list box', () => {
const handleHighlightChange = spy();
const { getByRole } = render(
<Autocomplete
value="one"
onHighlightChange={handleHighlightChange}
options={['one']}
renderInput={(params) => <TextField {...params} />}
/>,
Expand Down

0 comments on commit 27c01fd

Please sign in to comment.