Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump enzyme from 3.9.0 to 3.10.0 #2224

Merged
merged 1 commit into from Jul 23, 2019

Conversation

@dependabot-preview
Copy link
Contributor

dependabot-preview bot commented Jul 23, 2019

Bumps enzyme from 3.9.0 to 3.10.0.

Changelog

Sourced from enzyme's changelog.

3.10.0

New Stuff

  • shallow add suspenseFallback option; support Suspense/Lazy (#1975)
  • shallow/mount: add invoke(propName)(...args) (#1856, #945)
  • shallow: Support rendering and dive()ing createContext() providers and consumers (#1966)
  • mount/shallow: add getWrappingComponent (#1960)
  • Utils: add isCustomComponent (#1960)
  • Utils: add stub argument to spyMethod
  • EnzymeAdapter: add matchesElementType (#2146)
  • RSTTraversal: add getHTMLFromHostNodes

Fixes

  • selectors: unwrap memo elements - in both directions (#2146)
  • shallow: properly determine "should render" for PureComponents (#2096)
  • mount/shallow: renderProp: improve error messages (#2070)
  • mount: setContext: use proper wrapper name in error message
  • shallow: .contains(): clean up error message
  • shallow/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 receiver
  • mount: use getHTMLFromHostNodes

Docs

  • explain why need to re-call .find() after update (#2140)
  • shallow: fix childAt (#2134)
  • Update v2 -> v3 migration guide re props after a stage change (#1300)
  • debug: Added documentation for verbose flag (#2104)
  • Add on the fly JSDOM include example (#2072)
  • reduce/reduceRight: fix example code (#2066, #2065, #2064)
  • update simulateError with getDerivedStateFromError (#2036)
  • shallow: .hasClass: fix use of mount
  • add link to Cheerio API and another example (#756)
  • jest: Update deprecated jest config key (#2024)
Commits
  • 5127331 [enzyme] v3.10.0
  • ddb0627 [Fix] selectors: unwrap memo elements - in both directions.
  • 7986308 [Refactor] ReactWrapper/ShallowWrapper: ensure calling an adapter‘s nodeT...
  • 65881b2 [enzyme, enzyme-adapter-react-16] [new] add matchesElementType
  • d397a55 [*] [dev deps] update eslint-plugin-import
  • b37fc29 [Fix] shallow: properly determine "should render" for PureComponents
  • 464c6cb [*] [dev deps] update eslint-plugin-react, eslint-plugin-import
  • d3d2259 [New] shallow/mount: add invoke(propName)(...args)
  • 60ea652 Revert "[New] shallow: Add invoke(eventName, ...args)"
  • 258823f [New] shallow: Add invoke(eventName, ...args)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [enzyme](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/airbnb/enzyme/releases)
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/enzyme/commits/enzyme@3.10.0/packages/enzyme)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/enzyme-3.10.0 branch from 0f01af3 to 193974c Jul 23, 2019
@codecov
Copy link

codecov bot commented Jul 23, 2019

Codecov Report

Merging #2224 into master will increase coverage by 0.2%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #2224     +/-   ##
=========================================
+ Coverage   92.75%   92.95%   +0.2%     
=========================================
  Files         219      219             
  Lines       12322    12563    +241     
  Branches     1793     1795      +2     
=========================================
+ Hits        11429    11678    +249     
+ Misses        893      885      -8
Impacted Files Coverage Δ
lib/controllers/issueish-list-controller.js 80% <0%> (-20%) ⬇️
lib/containers/reviews-container.js 100% <0%> (ø) ⬆️
lib/items/reviews-item.js 100% <0%> (ø) ⬆️
lib/items/changed-file-item.js 100% <0%> (ø) ⬆️
lib/views/emoji-reactions-view.js 100% <0%> (ø) ⬆️
lib/views/dialog-view.js 100% <0%> (ø) ⬆️
lib/views/reaction-picker-view.js 100% <0%> (ø) ⬆️
lib/containers/remote-container.js 100% <0%> (ø) ⬆️
lib/controllers/reviews-controller.js 100% <0%> (ø) ⬆️
lib/views/issue-detail-view.js 100% <0%> (ø) ⬆️
... and 132 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50fce54...193974c. Read the comment docs.

@dependabot-preview dependabot-preview bot merged commit de0cf54 into master Jul 23, 2019
9 checks passed
9 checks passed
Consider pull request for release board Consider pull request for release board
Details
atom.github Build #20190723.14 succeeded
Details
atom.github (Lint) Lint succeeded
Details
atom.github (Linux) Linux succeeded
Details
atom.github (MacOS) MacOS succeeded
Details
atom.github (Snapshot) Snapshot succeeded
Details
atom.github (Windows) Windows succeeded
Details
codecov/patch Coverage not affected when comparing 50fce54...193974c
Details
codecov/project 92.95% (+0.2%) compared to 50fce54
Details
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/enzyme-3.10.0 branch Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

0 participants
You can’t perform that action at this time.