ymanager/client/src/App.test.js @ d0fad67a
1 | c46ffe2f | plundrichov | import React from 'react'; |
---|---|---|---|
2 | import { render } from '@testing-library/react'; |
||
3 | import App from './App'; |
||
4 | |||
5 | test('renders learn react link', () => { |
||
6 | const { getByText } = render(<App />); |
||
7 | const linkElement = getByText(/learn react/i); |
||
8 | expect(linkElement).toBeInTheDocument(); |
||
9 | });
|