This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/Application/__test__/Main.test.tsx
2021-10-24 05:19:39 +02:00

11 lines
262 B
TypeScript

import { render } from '@testing-library/react'
import { Main } from '../Main'
describe('<Main />', () => {
it('should render', async () => {
const { getByText } = render(<Main>Content</Main>)
expect(getByText('Content')).toBeInTheDocument()
})
})