import React from 'react';
import { shallow } from 'enzyme';

import Box from '.';

describe('Box', () => {
  it('displays a box', () => {
    const node = shallow(<Box />);
    expect(node.hasClass('Box')).toBe(true);
  });

  it('displays a box with popover styles', () => {
    const node = shallow(<Box bem={[['pop']]} />);
    expect(node.hasClass('Box_pop')).toBe(true);
  });
});
