crabfit/crabfit-frontend/src/App.test.ts
2021-03-02 20:31:32 +11:00

9 lines
246 B
TypeScript

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();
});