2021-03-28 17:00:33 +01:00
|
|
|
import { render, screen } from '@testing-library/react';
|
|
|
|
import App from './App';
|
|
|
|
|
|
|
|
test('renders learn react link', () => {
|
|
|
|
render(<App />);
|
2021-04-03 13:51:08 +01:00
|
|
|
const linkElement = screen.getByText(/Clients/i);
|
2021-03-28 17:00:33 +01:00
|
|
|
expect(linkElement).toBeInTheDocument();
|
|
|
|
});
|