import React from 'react';

import Discount from './index';

const data = {
  reduction: '100 CHF',
};

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

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

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