import { render } from '@testing-library/react'; import { MemoryRouter } from 'react-router-dom'; import { Settings } from '../../src/settings/Settings'; import { checkAccessibility } from '../__helpers__/accessibility'; describe('', () => { const setUp = () => render( , ); it('passes a11y checks', () => checkAccessibility(setUp())); });