"use strict";

var _build = require("enzyme/build");
var _react = _interopRequireDefault(require("react"));
var _index = _interopRequireDefault(require("./index"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var thumbnails = {
  dotMode: false,
  items: [{
    thumbnailImage: './src/frontSide.jpg',
    identifier: 'frontside'
  }, {
    thumbnailImage: './src/frontSide.jpg',
    identifier: 'backside'
  }, {
    thumbnailImage: './src/frontSide.jpg',
    identifier: 'leftside'
  }, {
    thumbnailImage: './src/frontSide.jpg',
    identifier: 'rightside'
  }]
};
var thumbnailsDotMode = {
  dotMode: true,
  items: [{
    identifier: 'frontside'
  }, {
    identifier: 'backside'
  }, {
    identifier: 'leftside'
  }, {
    identifier: 'rightside'
  }]
};
it('renders images correctly', function () {
  var tree = (0, _build.render)( /*#__PURE__*/_react["default"].createElement(_index["default"], {
    thumbnails: thumbnails
  }));
  expect(tree).toMatchSnapshot();
});
it('renders dots correctly', function () {
  var tree = (0, _build.render)( /*#__PURE__*/_react["default"].createElement(_index["default"], {
    thumbnails: thumbnailsDotMode
  }));
  expect(tree).toMatchSnapshot();
});