import React from 'react';

import Accordion from './index';

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

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

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

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