1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

test: add the first automated tests

This commit is contained in:
divlo
2021-04-18 23:09:51 +02:00
parent 0922e00cdf
commit 60df0bac5c
9 changed files with 13847 additions and 9464 deletions

View File

@ -0,0 +1,10 @@
import { render } from '@testing-library/react'
import { Button } from '../Button'
describe('<Button />', () => {
it('should render', async () => {
const { getByText } = render(<Button>Submit</Button>)
expect(getByText('Submit')).toBeInTheDocument()
})
})