import React from 'react';

import Price from './index';

const data = {
  amount: 20,
  currency: 'CHF',
};

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

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

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