wix-style-react
Version:
wix-style-react
21 lines (15 loc) • 696 B
JavaScript
import React from 'react';
import { shallow, mount } from 'enzyme';
import GoogleAddressInput from './GoogleAddressInput';
var componentFactory = function componentFactory() {
var createShallow = function createShallow() {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return shallow(React.createElement(GoogleAddressInput, props));
};
var createMount = function createMount() {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return mount(React.createElement(GoogleAddressInput, props));
};
return { createShallow: createShallow, createMount: createMount };
};
export { componentFactory };