@codecademy/enzyme-helpers
Advanced tools
Comparing version 2.0.2-alpha.72452e.0 to 2.0.2-alpha.7b1a8c.0
@@ -6,6 +6,7 @@ # Change Log | ||
## <small>2.0.2-alpha.72452e.0 (2020-10-09)</small> | ||
## <small>2.0.2-alpha.7b1a8c.0 (2020-10-10)</small> | ||
* chore: update changelogs ([e6c1279](https://github.com/Codecademy/client-modules/commit/e6c1279)) | ||
* chore(deps-dev): bump jest-enzyme from 7.1.0 to 7.1.2 (#1010) ([8cf23f6](https://github.com/Codecademy/client-modules/commit/8cf23f6)), closes [#1010](https://github.com/Codecademy/client-modules/issues/1010) | ||
* chore(deps-dev): bump rollup from 1.19.4 to 2.29.0 (#1018) ([e22d855](https://github.com/Codecademy/client-modules/commit/e22d855)), closes [#1018](https://github.com/Codecademy/client-modules/issues/1018) | ||
@@ -12,0 +13,0 @@ |
@@ -5,6 +5,8 @@ 'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var React = require('react'); | ||
var React = _interopDefault(require('react')); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
function _extends() { | ||
@@ -43,3 +45,3 @@ _extends = Object.assign || function (target) { | ||
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
wrapper = render(React.createElement(Component, _extends({}, baseProps, props))); // sanity checks | ||
wrapper = render(React__default['default'].createElement(Component, _extends({}, baseProps, props))); // sanity checks | ||
@@ -46,0 +48,0 @@ expect(wrapper).toExist(); |
{ | ||
"name": "@codecademy/enzyme-helpers", | ||
"version": "2.0.2-alpha.72452e.0", | ||
"version": "2.0.2-alpha.7b1a8c.0", | ||
"description": "Helpers for writing Enzyme tests", | ||
@@ -23,3 +23,3 @@ "main": "dist/bundle.js", | ||
"jest-enzyme": "7.1.2", | ||
"rollup": "1.19.4", | ||
"rollup": "2.29.0", | ||
"rollup-plugin-babel": "4.3.2", | ||
@@ -31,3 +31,3 @@ "rollup-plugin-node-resolve": "4.2.1" | ||
}, | ||
"gitHead": "fe0d3720a25f4ac9912ec5b1ff52bd3f34d31f71" | ||
"gitHead": "4c263cb0ee484fe7a1cd35a3a139ae52b824360d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27386
305