Skip to content

Commit

Permalink
minor detail
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed May 2, 2020
1 parent 941eea8 commit 31be144
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -145,9 +145,9 @@ describe('<Autocomplete />', () => {
it('show all items on focus', () => {
const { container, getAllByRole, getByRole } = render(
<Autocomplete
{...defaultProps}
multiple
limitTags={2}
{...defaultProps}
options={['one', 'two', 'three']}
defaultValue={['one', 'two', 'three']}
renderInput={(params) => <TextField {...params} />}
Expand All @@ -165,9 +165,9 @@ describe('<Autocomplete />', () => {
it('show 0 item on close when set 0 to limitTags', () => {
const { container, getAllByRole, getByRole } = render(
<Autocomplete
{...defaultProps}
multiple
limitTags={0}
{...defaultProps}
options={['one', 'two', 'three']}
defaultValue={['one', 'two', 'three']}
renderInput={(params) => <TextField {...params} />}
Expand Down

0 comments on commit 31be144

Please sign in to comment.