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/design/Button/Button.test.tsx

11 lines
263 B
TypeScript
Raw Normal View History

2021-10-24 05:19:39 +02:00
import { render } from '@testing-library/react'
2021-10-24 05:48:06 +02:00
import { Button } from './'
2021-10-24 05:19:39 +02:00
describe('<Button />', () => {
it('should render', async () => {
const { getByText } = render(<Button>Submit</Button>)
expect(getByText('Submit')).toBeInTheDocument()
})
})