a0fa66e8f5
Co-authored-by: Walid <87608619+WalidKorchi@users.noreply.github.com>
16 lines
387 B
TypeScript
16 lines
387 B
TypeScript
import { render } from '@testing-library/react'
|
|
import { CogIcon } from '@heroicons/react/solid'
|
|
|
|
import { IconButton } from './IconButton'
|
|
|
|
describe('<IconButton />', () => {
|
|
it('should render successfully', () => {
|
|
const { baseElement } = render(
|
|
<IconButton className='h-10 w-10'>
|
|
<CogIcon />
|
|
</IconButton>
|
|
)
|
|
expect(baseElement).toBeTruthy()
|
|
})
|
|
})
|