import * as React from 'react';
import render from '../../_utils/tests/render';
import Image from '../Image';
it('renders correctly for a basic image', () => {
const { container } = render(
);
expect(container.firstChild).toMatchSnapshot();
});
it('renders correctly for a fixed image', () => {
const { container } = render(
);
expect(container.firstChild).toMatchSnapshot();
});
it('renders correctly for a fitted image (contain)', () => {
const { container } = render(
);
expect(container.firstChild).toMatchSnapshot();
});
it('renders correctly for a fitted image (cover)', () => {
const { container } = render(
);
expect(container.firstChild).toMatchSnapshot();
});
it('renders correctly for a fitted image with a position', () => {
const { container } = render(
);
expect(container.firstChild).toMatchSnapshot();
});
it('renders correctly for a fitted image with a position', () => {
const { container } = render(
);
expect(container.firstChild).toMatchSnapshot();
});