mirror of
https://github.com/rjNemo/react_template
synced 2026-06-07 13:16:40 +00:00
9 lines
279 B
TypeScript
9 lines
279 B
TypeScript
import React from 'react';
|
|
import { render } from '@testing-library/react';
|
|
import App from './App';
|
|
|
|
test('renders learn react link', () => {
|
|
const { getByText } = render(<App />);
|
|
const linkElement = getByText(/Your tasks/i);
|
|
expect(linkElement).toBeInTheDocument();
|
|
});
|