awesome-compose/react-nginx/src/App.test.js
phamthainb 61b0edf2ca add react-nginx
Signed-off-by: phamthainb <phamthai4643@gmail.com>
2021-03-29 13:29:16 +07:00

9 lines
246 B
JavaScript
Executable File

import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});