aswi2022code-of-duty-gitlab/frontend/src/App.test.tsx @ ec88f816
1 | ec88f816 | Vaclav Honzik | import React from 'react'; |
---|---|---|---|
2 | import { render, screen } from '@testing-library/react'; |
||
3 | import App from './App'; |
||
4 | |||
5 | test('renders learn react link', () => { |
||
6 | render(<App />); |
||
7 | const linkElement = screen.getByText(/learn react/i); |
||
8 | expect(linkElement).toBeInTheDocument(); |
||
9 | });
|