airbnb/enzyme
### [`v3.7.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#370)
##### New Stuff
- `mount`: `.state()`/`.setState()`: allow calling on children ([#1802](https://renovatebot.com/gh/airbnb/enzyme/pull/1802), [@ljharb](https://renovatebot.com/gh/ljharb))
- `configuration`: add `reset` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/d91d95b8da8900c8f4b7090d2256422a82398ca9))
##### Fixes
- `makeOptions`: ensure that config-level `attachTo`/`hydrateIn` are inherited into wrapper options ([#1836](https://renovatebot.com/gh/airbnb/enzyme/issues/1836), [@ljharb](https://renovatebot.com/gh/ljharb))
- `shallow`/`Utils`: call into adapter’s `isCustomComponentElement` if present ([#1832](https://renovatebot.com/gh/airbnb/enzyme/pull/1832), [@SinHouse](https://renovatebot.com/gh/SinHouse))
- `shallow`/`mount`: throw an explicit error when state is null/undefined ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/9ea33d7667a93885d6f1d6e12b0c2661d6d47cd1))
- freeze `ROOT_NODES` for child wrappers ([#1811](https://renovatebot.com/gh/airbnb/enzyme/pull/1811), [@jgzuke](https://renovatebot.com/gh/jgzuke))
- `shallow`: `.parents`: ensure that one `.find` call does not affect another ([#1781](https://renovatebot.com/gh/airbnb/enzyme/pull/1781), [@ljharb](https://renovatebot.com/gh/ljharb))
- `mount`: update after `simulateError` ([#1812](https://renovatebot.com/gh/airbnb/enzyme/pull/1812), [@jgzuke](https://renovatebot.com/gh/jgzuke))
##### Refactors
- `mount`/`shallow`: `getElement`: use `this.single` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/6b63db3b002a419076c82d34554916400ef392fa))
### [`v3.6.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#360)
##### New Stuff
- `shallow`/`mount`: add `simulateError` ([#1797](https://renovatebot.com/gh/airbnb/enzyme/pull/1797), [@ljharb](https://renovatebot.com/gh/ljharb))
### [`v3.5.1`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#351)
##### Fixes
- `shallow`/`mount`: `containsMatchingElement`: trim whitespace ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/171e952), [#636](https://renovatebot.com/gh/airbnb/enzyme/issues/636))
- `debug`: inspect objects instead of showing them as `` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/a7b6e78))
##### Documentation
- `mount`: `ref`: Update docs to be consistent with v3 ([#1242](https://renovatebot.com/gh/airbnb/enzyme/pull/1242), [@adam-golab](https://renovatebot.com/gh/adam-golab))
##### Refactors
- `shallow`/`mount`: make tests and method ordering more consistent ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/d0fccaf))
- RSTTraversal: remove unnecessary `adapter` truthiness check ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/394a327))
### [`v3.5.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#350)
##### New Stuff
- Add forwardRef support ([#1592](https://renovatebot.com/gh/airbnb/enzyme/pull/1592), [@jquense](https://renovatebot.com/gh/jquense))
- Add Portal support ([#1760](https://renovatebot.com/gh/airbnb/enzyme/pull/1760), [#1761](https://renovatebot.com/gh/airbnb/enzyme/pull/1760), [#1772](https://renovatebot.com/gh/airbnb/enzyme/pull/1772), [#1774](https://renovatebot.com/gh/airbnb/enzyme/pull/1774), [@jgzuke](https://renovatebot.com/gh/jgzuke))
- Add pointer events support ([#1753](https://renovatebot.com/gh/airbnb/enzyme/pull/1753), [@ljharb](https://renovatebot.com/gh/ljharb))
##### Fixes
- preemptively fix compat with React v16.4.3 ([#1790](https://renovatebot.com/gh/airbnb/enzyme/pull/1790), [#1778](https://renovatebot.com/gh/airbnb/enzyme/pull/1778), [@gaearon](https://renovatebot.com/gh/gaearon), [@aweary](https://renovatebot.com/gh/aweary))
- `shallow`: prevent rerenders with PureComponents ([#1786](https://renovatebot.com/gh/airbnb/enzyme/pull/1786), [@koba04](https://renovatebot.com/gh/koba04))
- `shallow`: skip updates when nextState is `null` or `undefined` ([#1785](https://renovatebot.com/gh/airbnb/enzyme/pull/1785), [@koba04](https://renovatebot.com/gh/koba04))
- `shallow`: `setState` after `setProps` calls `componentWillReceiveProps` ([#1779](https://renovatebot.com/gh/airbnb/enzyme/pull/1779), [@peanutenthusiast](https://renovatebot.com/gh/peanutenthusiast))
- `mount`/`shallow`: be stricter on the wrapper’s setState/setProps callback ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/ff11d2219da575d09ca8edfa19df42b8f78b506f))
- `shallow`/`mount`: improve error message when wrapping invalid elements ([#1759](https://renovatebot.com/gh/airbnb/enzyme/pull/1759), [@jgzuke](https://renovatebot.com/gh/jgzuke))
##### Refactors
- remove most uses of lodash ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/89b39b6f1c59aa771f4452a27b159f7aa2616e84))
##### Meta Stuff
- ensure a license and readme is present in all packages when published
Renovate configuration
:date: Schedule: "on saturday" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
^3.4.4
->^3.7.0
Release Notes
airbnb/enzyme
### [`v3.7.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#370) ##### New Stuff - `mount`: `.state()`/`.setState()`: allow calling on children ([#1802](https://renovatebot.com/gh/airbnb/enzyme/pull/1802), [@ljharb](https://renovatebot.com/gh/ljharb)) - `configuration`: add `reset` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/d91d95b8da8900c8f4b7090d2256422a82398ca9)) ##### Fixes - `makeOptions`: ensure that config-level `attachTo`/`hydrateIn` are inherited into wrapper options ([#1836](https://renovatebot.com/gh/airbnb/enzyme/issues/1836), [@ljharb](https://renovatebot.com/gh/ljharb)) - `shallow`/`Utils`: call into adapter’s `isCustomComponentElement` if present ([#1832](https://renovatebot.com/gh/airbnb/enzyme/pull/1832), [@SinHouse](https://renovatebot.com/gh/SinHouse)) - `shallow`/`mount`: throw an explicit error when state is null/undefined ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/9ea33d7667a93885d6f1d6e12b0c2661d6d47cd1)) - freeze `ROOT_NODES` for child wrappers ([#1811](https://renovatebot.com/gh/airbnb/enzyme/pull/1811), [@jgzuke](https://renovatebot.com/gh/jgzuke)) - `shallow`: `.parents`: ensure that one `.find` call does not affect another ([#1781](https://renovatebot.com/gh/airbnb/enzyme/pull/1781), [@ljharb](https://renovatebot.com/gh/ljharb)) - `mount`: update after `simulateError` ([#1812](https://renovatebot.com/gh/airbnb/enzyme/pull/1812), [@jgzuke](https://renovatebot.com/gh/jgzuke)) ##### Refactors - `mount`/`shallow`: `getElement`: use `this.single` ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/6b63db3b002a419076c82d34554916400ef392fa)) ### [`v3.6.0`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#360) ##### New Stuff - `shallow`/`mount`: add `simulateError` ([#1797](https://renovatebot.com/gh/airbnb/enzyme/pull/1797), [@ljharb](https://renovatebot.com/gh/ljharb)) ### [`v3.5.1`](https://renovatebot.com/gh/airbnb/enzyme/blob/master/CHANGELOG.md#351) ##### Fixes - `shallow`/`mount`: `containsMatchingElement`: trim whitespace ([commit](https://renovatebot.com/gh/airbnb/enzyme/commit/171e952), [#636](https://renovatebot.com/gh/airbnb/enzyme/issues/636)) - `debug`: inspect objects instead of showing them as `Renovate configuration
:date: Schedule: "on saturday" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.