This commit is contained in:
Dexter 2022-02-15 14:57:48 +00:00 committed by Dexter Edwards
parent 816a3df352
commit fb122a90b8
2 changed files with 1 additions and 9 deletions

View File

@ -1,8 +0,0 @@
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

View File

@ -2,7 +2,7 @@ import { render } from '@testing-library/react';
import { BrowserRouter } from 'react-router-dom';
import App from './app';
import App from './App';
describe('App', () => {
it('should render successfully', () => {