"use strict";

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

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

var React = _interopRequireWildcard(require("react"));

var _react2 = require("@testing-library/react");

var _index = _interopRequireDefault(require("../index"));

describe('List', function () {
  it('renders correctly', function () {
    var _render = (0, _react2.render)( /*#__PURE__*/React.createElement(_index.default, null, /*#__PURE__*/React.createElement(_index.default.Item, {
      title: "Item 1"
    }), /*#__PURE__*/React.createElement(_index.default.Item, {
      title: "Item 2"
    }))),
        container = _render.container;

    expect(container).toMatchSnapshot();
  });
});