import * as React from 'react'; import { mount } from 'enzyme'; import Avatar from '..'; import { avatarTestkitFactory } from '../../../testkit'; import { avatarTestkitFactory as avatarEnzymeTestkitFactory } from '../../../testkit/enzyme'; async function testkits() { const vanilla = avatarTestkitFactory({ dataHook: 'hi', wrapper: document.createElement('div'), }); await vanilla.exists(); await vanilla.getTextContent(); const enzyme = avatarEnzymeTestkitFactory({ dataHook: 'shbem', wrapper: mount(
), }); } function AvatarWithMandatoryProps() { return ; } function AvatarWithAllProps() { return ( } text="some text" title="some title" shape="circle" presence="online" indication={
} customIndication={
} onIndicationClick={() => {}} onClick={() => {}} showIndicationOnHover loading /> ); }