import { cleanup } from '@testing-library/react'; import { render } from '../../../utils/theme-render-wrapper'; import { ASSETS_URL } from '../../../consts/common'; import { DictionaryCard } from './dictionary-card'; import type { DictionaryCardProps } from './dictionary-card'; afterEach(cleanup); const mockCard: DictionaryCardProps = { classes: { root: '' }, title: 'Title', items: { Hello: 'World', Hello1: 'World1', Hello2: 'World2' } }; describe('', () => { it(`Should render with avatarProps`, () => { render( ); }); it(`Should render without avatarProps`, () => { render(); }); it(`Should render with user initials`, () => { render( ); }); it(`Should render as not verified user`, () => { render( ); }); it(`Should render with mainIcon and link`, () => { render( Contact Person }} /> ); }); });