import * as React from 'react'
import { render } from '@testing-library/react'
import '@testing-library/jest-dom'
import {
CCard,
CCardBody,
CCardFooter,
CCardHeader,
CCardImage,
CCardLink,
CCardSubtitle,
CCardTitle,
CCardText,
CCardGroup,
} from '../index'
test('loads and displays CCardGroup component', async () => {
const { container } = render(Test)
expect(container).toMatchSnapshot()
})
test('CCardGroup customize', async () => {
const { container } = render(Test)
expect(container).toMatchSnapshot()
expect(container.firstChild).toHaveClass('bazinga')
expect(container.firstChild).toHaveClass('card-group')
})
test('CCardGroup full example', async () => {
const { container } = render(
Image
Header
Title
Subtitle
Text
Link
Footer
Card Title
)
expect(container).toMatchSnapshot()
})