import { render } from '../../../utils/theme-render-wrapper'; import { TextField } from './index'; import mockTextField from './__mocks__/mockTextField'; describe('', () => { it('should render successfully', () => { const { baseElement } = render(); expect(baseElement).toBeTruthy(); }); it('should render with error text', () => { const { baseElement } = render( ); expect(baseElement).toBeTruthy(); }); it('should render with custom hint', () => { const { baseElement } = render( ); expect(baseElement).toBeTruthy(); }); });