263ba37b97
add react-nginx Signed-off-by: phamthainb <phamthai4643@gmail.com>
9 lines
246 B
JavaScript
Executable File
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();
|
|
});
|