text: "use strict";
  
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
  
  var _enzyme = require("enzyme");
  
  var _enzymeAdapterReact = _interopRequireDefault(require("enzyme-adapter-react-16"));
  
  /* eslint import/no-extraneous-dependencies: "off" */
  (0, _enzyme.configure)({
    adapter: new _enzymeAdapterReact["default"]()
  });
  
  global.createSpyObj = function (baseName, methodNames) {
    var obj = {};
  
    for (var i = 0; i < methodNames.length; i += 1) {
      obj[methodNames[i]] = jest.fn();
    }
  
    return obj;
  };