Last change
on this file since 721cb87 was 3f5bf9e, checked in by Vzdra <vladko.zdravkovski@…>, 4 years ago |
added test login
|
-
Property mode
set to
100644
|
File size:
262 bytes
|
Rev | Line | |
---|
[f36822a] | 1 | import { render, screen } from '@testing-library/react';
|
---|
[3f5bf9e] | 2 | import App from './components/main/App';
|
---|
[f36822a] | 3 |
|
---|
| 4 | test('renders learn react link', () => {
|
---|
| 5 | render(<App />);
|
---|
| 6 | const linkElement = screen.getByText(/learn react/i);
|
---|
| 7 | expect(linkElement).toBeInTheDocument();
|
---|
| 8 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.