Skip to content

Commit 9ca23a4

Browse files
remove redundant assertion
1 parent 6153415 commit 9ca23a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ describe('<Autocomplete />', () => {
721721
});
722722
});
723723

724-
describe('freeSolo', () => {
724+
describe('prop: freeSolo', () => {
725725
it('pressing twice enter should not call onChange listener twice', () => {
726726
const handleChange = spy();
727727
const options = [{ name: 'foo' }];
@@ -740,7 +740,6 @@ describe('<Autocomplete />', () => {
740740
expect(handleChange.args[0][1]).to.deep.equal(options[0]);
741741
fireEvent.keyDown(document.activeElement, { key: 'Enter' });
742742
expect(handleChange.callCount).to.equal(1);
743-
expect(handleChange.args[0][1]).to.deep.equal(options[0]);
744743
});
745744
});
746745
});

0 commit comments

Comments
 (0)