arseniy.sorokin | bdf2def | 2023-10-05 00:05:32 +0200 | [diff] [blame] | 1 | import { render, screen } from '@testing-library/react'; |
2 | import App from './App'; | ||||
3 | |||||
4 | test('renders learn react link', () => { | ||||
5 | render(<App />); | ||||
6 | const linkElement = screen.getByText(/Clients/i); | ||||
7 | expect(linkElement).toBeInTheDocument(); | ||||
8 | }); |