blob: 9a9be2e13d7860a0bd6413e4af7f2e3df931888e [file] [log] [blame]
Larbi Gharibe9af9732021-03-31 15:08:01 +01001import { render } from '@testing-library/react';
2import App from './App';
3
4test('renders learn react link', () => {
5 const { getByText } = render(<App />);
6 const linkElement = getByText(/learn react/i);
7 expect(linkElement).toBeInTheDocument();
8});