import React from 'react';
import { render } from '@testing-library/react';
import Card from './Card';
it('renders Card unchanged', () => {
const { container } = render();
expect(container).toMatchSnapshot();
});
it('renders Card with title unchanged', () => {
const { container } = render();
expect(container).toMatchSnapshot();
});
it('renders Card with description unchanged', () => {
const { container } = render();
expect(container).toMatchSnapshot();
});
it('renders Card with cover unchanged', () => {
const { container } = render(} />);
expect(container).toMatchSnapshot();
});
it('renders Card with children unchanged', () => {
const { container } = render(
Ciao
);
expect(container).toMatchSnapshot();
});
it('renders Card loading unchanged', () => {
const { container } = render();
expect(container).toMatchSnapshot();
});
it('renders Card with custom CSS class unchanged', () => {
const { container } = render();
expect(container).toMatchSnapshot();
});
it('renders Card hoverable unchanged', () => {
const { container } = render();
expect(container).toMatchSnapshot();
});