Last change
on this file since a2e5735 was 3c90661, checked in by Nace Gjorgjievski <nace.gorgievski123@…>, 2 years ago |
mebelcity-setup
|
-
Property mode
set to
100644
|
File size:
246 bytes
|
Rev | Line | |
---|
[3c90661] | 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(/learn react/i);
|
---|
| 7 | expect(linkElement).toBeInTheDocument();
|
---|
| 8 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.