/* eslint-disable jsx-a11y/anchor-has-content */
import { render } from '@testing-library/react';
import Tile from '../tile';
import { ProtVistaIcon } from '..';
describe('Tile component', () => {
it('should render', () => {
const { asFragment } = render(
}
backgroundColor="var(--fr--color-sea-blue)"
link={}
gradient
>
My description
);
expect(asFragment()).toMatchSnapshot();
});
it('should render with default specified width', () => {
const { asFragment } = render(
}
/>
);
expect(asFragment()).toMatchSnapshot();
});
});