'use strict';

var _enzyme = require('enzyme');

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _Layout = require('../Layout');

var _Layout2 = _interopRequireDefault(_Layout);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var buildWrapper = function buildWrapper(props) {
  return (0, _enzyme.shallow)(_react2.default.createElement(
    _Layout2.default,
    null,
    'Test Children Content'
  ));
};

describe('Layout', function () {
  it('should render context provider with given content', function () {
    expect(buildWrapper()).toMatchSnapshot();
  });
});