import React from 'react'; import { render } from '@testing-library/react'; import InputLabel from './InputLabel'; describe('', () => { it('renders the component with props', () => { const { container } = render(Username:); expect(container.firstChild).toMatchSnapshot(); }); });