Skip to content

Commit

Permalink
Removed extra set of brackets from assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tplai committed Dec 11, 2019
1 parent 38d567c commit 6153415
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,10 +737,10 @@ describe('<Autocomplete />', () => {
fireEvent.keyDown(document.activeElement, { key: 'ArrowDown' });
fireEvent.keyDown(document.activeElement, { key: 'Enter' });
expect(handleChange.callCount).to.equal(1);
expect(handleChange.args[0][1]).to.deep.equal([options[0]]);
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]]);
expect(handleChange.args[0][1]).to.deep.equal(options[0]);
});
});
});

0 comments on commit 6153415

Please sign in to comment.