Skip to content

Commit e211eff

Browse files
yarn prettier
1 parent 33d584e commit e211eff

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

packages/mui-material/src/Autocomplete/Autocomplete.test.js

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,33 +2904,30 @@ describe('<Autocomplete />', () => {
29042904
renderInput={(params) => <TextField {...params} autoFocus />}
29052905
/>,
29062906
);
2907-
2907+
29082908
const root = container.querySelector(`.${classes.root}`);
2909-
2909+
29102910
expect(root).not.to.have.class(classes.expanded);
2911-
2911+
29122912
const textbox = screen.getByRole('combobox');
29132913
fireEvent.keyDown(textbox, { key: 'ArrowDown' }); // open listbox
2914-
2914+
29152915
expect(root).to.have.class(classes.expanded);
29162916
});
29172917

29182918
it('when listbox having no options is opened', () => {
29192919
const { container } = render(
2920-
<Autocomplete
2921-
options={[]}
2922-
renderInput={(params) => <TextField {...params} autoFocus />}
2923-
/>,
2920+
<Autocomplete options={[]} renderInput={(params) => <TextField {...params} autoFocus />} />,
29242921
);
2925-
2922+
29262923
const root = container.querySelector(`.${classes.root}`);
2927-
2924+
29282925
expect(root).not.to.have.class(classes.expanded);
2929-
2926+
29302927
const textbox = screen.getByRole('combobox');
29312928
fireEvent.keyDown(textbox, { key: 'ArrowDown' }); // open listbox
29322929

29332930
expect(root).to.have.class(classes.expanded);
2934-
})
2935-
})
2931+
});
2932+
});
29362933
});

0 commit comments

Comments
 (0)