import React from 'react'; import { render } from '@testing-library/react'; import { DropdownItem } from '../../DropdownItem'; import { DropdownArrowContext } from '../../dropdownConstants'; describe('DropdownItem', () => { it('should match snapshot', () => { const { asFragment } = render( ReactNode} className={"''"} listItemClassName={'string'} component={'a'} isDisabled={false} isPlainText={false} isHovered={false} href={'string'} tooltip={null} tooltipProps={undefined} additionalChild={
ReactNode
} customChild={
ReactNode
} icon={null} />
); expect(asFragment()).toMatchSnapshot(); }); });