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( Bean ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a fixed image', () => { const { container } = render( Bean ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a fitted image (contain)', () => { const { container } = render( Bean ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a fitted image (cover)', () => { const { container } = render( Bean ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a fitted image with a position', () => { const { container } = render( Bean ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a fitted image with a position', () => { const { container } = render( Bean ); expect(container.firstChild).toMatchSnapshot(); });