import * as React from 'react'
import { render } from '@testing-library/react'
import '@testing-library/jest-dom'
import { CProgress } from '../index'
test('loads and displays CProgress component', async () => {
const { container } = render(Test)
expect(container).toMatchSnapshot()
})
test('CProgress customize', async () => {
const { container } = render(
Test
)
expect(container).toMatchSnapshot()
expect(container.firstChild).toHaveClass('bazinga')
expect(container.firstChild).toHaveClass('progress')
expect(container.firstChild).toHaveStyle(`height: 100px`)
})