import React from 'react';

import CarouselTextImage from './index';

const data = {
  title: 'title',
  text: 'text',
};

describe('CarouselTextImage', () => {
  const defaultElement = <CarouselTextImage {...data} />;
  let wrapper;

  beforeEach(() => {
    wrapper = shallow(defaultElement);
  });

  it('should render correctly', () => {
    expect(wrapper).toMatchSnapshot();
  });
});
