import * as React from 'react'
import { render } from '@testing-library/react'
import '@testing-library/jest-dom'
import { CDropdown, CDropdownMenu } from '../index'
test('loads and displays CDropdownMenu component', async () => {
const { container } = render(Test)
expect(container).toMatchSnapshot()
})
test('CDropdownMenu customize', async () => {
const { container } = render(
Test
)
expect(container).toMatchSnapshot()
expect(container.firstChild?.firstChild).toHaveClass('bazinga')
expect(container.firstChild?.firstChild).toHaveClass('dropdown-menu')
expect(container.firstChild?.firstChild).toHaveClass('show')
})