chore(deps): update dependency enzyme to v3.10.0 #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.9.0
->3.10.0
Release Notes
airbnb/enzyme
v3.10.0
Compare Source
New Stuff
shallow
addsuspenseFallback
option; supportSuspense
/Lazy
(#1975)shallow
/mount
: addinvoke(propName)(...args)
(#1856, #945)shallow
: Support rendering anddive()
ingcreateContext()
providers and consumers (#1966)mount
/shallow
: addgetWrappingComponent
(#1960)Utils
: addisCustomComponent
(#1960)Utils
: addstub
argument tospyMethod
EnzymeAdapter
: addmatchesElementType
(#2146)RSTTraversal
: addgetHTMLFromHostNodes
Fixes
selectors
: unwrapmemo
elements - in both directions (#2146)shallow
: properly determine "should render" forPureComponent
s (#2096)mount
/shallow
:renderProp
: improve error messages (#2070)mount
:setContext
: use proper wrapper name in error messageshallow
:.contains()
: clean up error messageshallow
/mount
:hasClass
: avoid a crash with a non-string argument (#2057)mount
: properly handle HTML of multiple nodes (#2052)shallow
: ensure that if gDSFP exists, cDU is called. (#2027)shallow
: Mock sCU if gDSFP defined in shallow renderer rerender (#1981)mount
:.state()
: allow getting state from stateful children of a stateless root (#2043)mount
:.text()
: properly recurse through fragments and arrays (#2028)Refactors
ReactWrapper
/ShallowWrapper
: ensure calling an adapter‘s nodeToElement preserves the receivermount
: usegetHTMLFromHostNodes
Docs
shallow
: fix childAt (#2134)debug
: Added documentation forverbose
flag (#2104)reduce
/reduceRight
: fix example code (#2066, #2065, #2064)simulateError
withgetDerivedStateFromError
(#2036)shallow
:.hasClass
: fix use ofmount
jest
: Update deprecated jest config key (#2024)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 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.