import React from 'react';

import Card from './index';

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

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

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

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