From 9ca23a4920b00344926d42312fbf0e2f0580c9d9 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 11 Dec 2019 12:04:50 +0100 Subject: [PATCH] remove redundant assertion --- packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js b/packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js index cbc8bd71cb994f..3411cdcbf0a4f3 100644 --- a/packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui-lab/src/Autocomplete/Autocomplete.test.js @@ -721,7 +721,7 @@ describe('', () => { }); }); - describe('freeSolo', () => { + describe('prop: freeSolo', () => { it('pressing twice enter should not call onChange listener twice', () => { const handleChange = spy(); const options = [{ name: 'foo' }]; @@ -740,7 +740,6 @@ describe('', () => { expect(handleChange.args[0][1]).to.deep.equal(options[0]); fireEvent.keyDown(document.activeElement, { key: 'Enter' }); expect(handleChange.callCount).to.equal(1); - expect(handleChange.args[0][1]).to.deep.equal(options[0]); }); }); });