import React from 'react';
import { shallow } from 'enzyme';
import { BannerPrimary as fromLib } from '../../..';
import BannerPrimary from '../BannerPrimary';
var props = {
  src: 'imgSrc.png'
};
var wrapper;
describe('BannerPrimary', function () {
  beforeEach(function () {
    wrapper = shallow(React.createElement(BannerPrimary, props));
  });
  it('should be exported as part of the library', function () {
    expect(fromLib).toEqual(BannerPrimary);
  });
  it('should render correctly', function () {
    expect(wrapper).toMatchSnapshot();
  });
});