pashto-grammar/src/App.test.js

9 lines
236 B
JavaScript
Raw Normal View History

2021-10-11 00:39:59 +00:00
import { render, screen } from '@testing-library/react';
2021-03-06 10:40:31 +00:00
import App from './App';
2022-09-06 14:13:55 +00:00
test('renders app', () => {
2021-10-11 00:39:59 +00:00
render(<App />);
2022-09-06 14:13:55 +00:00
const linkElement = screen.getByText(/pashto grammar/i);
2021-03-06 10:40:31 +00:00
expect(linkElement).toBeInTheDocument();
});