1import 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});