import { render } from '@testing-library/react';
import DecoratedListItem from '../decorated-list-item';
describe('DecoratedListItem component', () => {
it('should render', () => {
const { asFragment } = render(
Content
);
expect(asFragment()).toMatchSnapshot();
});
it('should render without title', () => {
const { asFragment } = render(
Content
);
expect(asFragment()).toMatchSnapshot();
});
it('should render compact', () => {
const { asFragment } = render(
Content
);
expect(asFragment()).toMatchSnapshot();
});
it('should render compact without title', () => {
const { asFragment } = render(
Content
);
expect(asFragment()).toMatchSnapshot();
});
it('should render inline', () => {
const { asFragment } = render(
Content
);
expect(asFragment()).toMatchSnapshot();
});
it('should render link', () => {
const { asFragment } = render(
// eslint-disable-next-line jsx-a11y/anchor-has-content
}>Content
);
expect(asFragment()).toMatchSnapshot();
});
});