import React from 'react';

import AddressMap from './index';

const data = {
  googleApiKey: 'key',
  markerName: 'markerName',
  position: {},
};

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

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

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