"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

var _react = _interopRequireDefault(require("react"));

var _enzyme = require("enzyme");

var _ = _interopRequireDefault(require("."));

describe('Box', function () {
  it('displays a box', function () {
    var node = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_["default"], null));
    expect(node.hasClass('Box')).toBe(true);
  });
  it('displays a box with popover styles', function () {
    var node = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_["default"], {
      bem: [['pop']]
    }));
    expect(node.hasClass('Box_pop')).toBe(true);
  });
});