import React from 'react'; import userEvent from '@testing-library/user-event'; import AutoComplete from '..'; import mountTest from '../../../tests/shared/mountTest'; import rtlTest from '../../../tests/shared/rtlTest'; import { render, screen } from '../../../tests/utils'; import Input from '../../input'; import { resetWarned } from '../../_util/warning'; describe('AutoComplete', () => { mountTest(AutoComplete); rtlTest(AutoComplete); it('AutoComplete with custom Input render perfectly', async () => { render(