awesome-compose/react-nginx/src/App.test.js
Phạm Hồng Thái 263ba37b97
add react-nginx (#121)
add react-nginx

Signed-off-by: phamthainb <phamthai4643@gmail.com>
2021-10-10 17:19:58 +02: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();
});