source:
client_app/src/App.test.js
Last change on this file was 3f5bf9e, checked in by , 4 years ago | |
---|---|
|
|
File size: 262 bytes |
Line | |
---|---|
1 | import { render, screen } from '@testing-library/react'; |
2 | import App from './components/main/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.