emb-rep / my-app /src /App.test.js
abadesalex's picture
emb first commit
5ebef9c
raw
history blame
246 Bytes
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();
});