import * as React from 'react'
import { render } from '@testing-library/react'
import '@testing-library/jest-dom'
import { CBadge } from '../index'
test('loads and displays CBadge component', async () => {
const { container } = render(Test)
expect(container).toMatchSnapshot()
})
test('CBadge customize', async () => {
const { container } = render(
Test
)
expect(container).toMatchSnapshot()
expect(container.firstChild).toHaveClass('bazinga')
expect(container.firstChild).toHaveClass('badge')
expect(container.firstChild).toHaveClass('bg-warning')
expect(container.firstChild).toHaveClass('rounded')
})