chore(deps): update dependency enzyme to v3.11.0 #202
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.11.0
Release Notes
airbnb/enzyme
v3.11.0
Compare Source
New Stuff
render
: handle Fiber strings and numbers (#2221)Fixes
shallow
: Share child context logic betweenshallow
anddive
(#2296)mount
:children
: include text nodes ($2269)mount
:invoke
: use adapter’swrapInvoke
if present (#2158)Docs
mount
/shallow
:closest
/parent
: Add missing arguments description (#2264)mount
/shallow
: fix pluralization of “exist” (#2262)shallow
/mount
:simulate
: added functional component example to simulate doc (#2248)mount
:debug
: add missing verbose option flag (#2184)mount
/shallow
:update
: fix semantics description (#2194)invoke
: Add missing backticks to end of codeblock (#2160)invoke
: Fix typo (#2167)Meta Stuff
funding
fieldis-boolean-object
,is-callable
,is-number-object
,is-string
,enzyme-shallow-equal
,array.prototype.flat
,function.prototype.name
,html-element-map
,is-regex
,object-inspect
,object-is
,object.entries
,object.vales
,raf
,string.prototype.trim
eslint
,eslint-plugin-import
,eslint-plugin-markdown
,eslint-plugin-react
,safe-publish-latest
,eslint-config-airbnb
,rimraf
,safe-publish-latest
,karma-firefox-launcher
,babel-preset-airbnb
,glob-gitignore
,semver
,eslint-plugin-jsx-a11y
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)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.