18 lines
442 B
JavaScript
18 lines
442 B
JavaScript
/**
|
|
* Copyright (c) 2021 lingdocs.com
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
import React from 'react';
|
|
import { render } from '@testing-library/react';
|
|
import App from './App';
|
|
|
|
test('renders', () => {
|
|
const { getByText } = render(<App />);
|
|
const linkElement = getByText(/pashto grammar/i);
|
|
expect(linkElement).toBeInTheDocument();
|
|
});
|