/** * 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(); const linkElement = getByText(/pashto grammar/i); expect(linkElement).toBeInTheDocument(); });