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/Sidebar/__test__/SidebarItem.test.tsx
2021-10-24 05:19:39 +02:00

11 lines
291 B
TypeScript

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