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