import React from 'react';
import Package from './index';

const data = {
  title: 'Package title',
  price: 'Package price',
  description: 'Package desc',
  duration: 'Package duration',
  currency: 'Package currency',
  LinkProps: {
    to: '/',
  },
};

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

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

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