We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6153415 commit 9ca23a4Copy full SHA for 9ca23a4
packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js
@@ -721,7 +721,7 @@ describe('<Autocomplete />', () => {
721
});
722
723
724
- describe('freeSolo', () => {
+ describe('prop: freeSolo', () => {
725
it('pressing twice enter should not call onChange listener twice', () => {
726
const handleChange = spy();
727
const options = [{ name: 'foo' }];
@@ -740,7 +740,6 @@ describe('<Autocomplete />', () => {
740
expect(handleChange.args[0][1]).to.deep.equal(options[0]);
741
fireEvent.keyDown(document.activeElement, { key: 'Enter' });
742
expect(handleChange.callCount).to.equal(1);
743
- expect(handleChange.args[0][1]).to.deep.equal(options[0]);
744
745
746
0 commit comments