"use strict";

var _react = _interopRequireDefault(require("react"));
var _enzyme = require("enzyme");
var _testUtils = require("testUtils");
var _testUtils2 = require("../../testUtils");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
jest.mock('ui/input/input_wrap', function () {
  return (0, _testUtils.mockComponent)('input_wrap');
});
var getComponent = function getComponent() {
  return require('ui/input/email_input').default;
};
describe('EmailInput', function () {
  var defaultProps = {
    autoComplete: false,
    invalidHint: 'invalidHint',
    isValid: true,
    onChange: jest.fn(),
    value: 'value',
    lockId: 1
  };
  test('renders without issue', function () {
    var Input = getComponent();
    var component = (0, _enzyme.mount)( /*#__PURE__*/_react.default.createElement(Input, defaultProps));
    expect(component.html()).toMatchSnapshot();
  });
});
