import React from 'react'; import { render } from '@testing-library/react'; import axe from '../../../../axe-helper'; import DropdownField from './DropdownField'; describe('', () => { it('renders the component with props with no a11y violations', async () => { const { container } = render( , ); const results = await axe(container.innerHTML); expect(container.firstChild).toMatchSnapshot(); expect(results).toHaveNoViolations(); }); });