tests moved to folder

This commit is contained in:
2024-04-24 09:05:56 -04:00
parent ed13b09677
commit 319611a40d
3 changed files with 802 additions and 243 deletions

8
__tests__/App.test.js Normal file
View File

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