1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-14 16:13:14 +01:00
.profile/components/Header/__test__/Header.test.tsx

11 lines
243 B
TypeScript
Raw Normal View History

2021-04-20 18:23:05 +02:00
import { render } from '@testing-library/react'
import { Header } from '..'
describe('<Header />', () => {
2021-12-04 15:52:51 +01:00
it('should render', () => {
2021-04-20 18:23:05 +02:00
const { getByText } = render(<Header />)
expect(getByText('Divlo')).toBeInTheDocument()
})
})