add test-the-application

This commit is contained in:
2023-02-17 15:34:18 +01:00
parent d1726a052a
commit cb9a4dd84f
23 changed files with 30053 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
import React from 'react';
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();
});