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.3.0 to 3.10.0 #54

Merged
merged 1 commit into from
Dec 15, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jun 4, 2019

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps enzyme from 3.3.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)

3.9.0

New Stuff

  • shallow: isEmptyRender: allow on multiple elements (#1924)
  • mount: support :focus selector (#1965)
  • shallow: Support getChildContext() (#1971)
  • shallow/mount: .find: find HTML elements by their constructor (#1933)
  • shallow/mount: selectors: support universal selector (#1945)
  • mount/shallow: add regex support to .hasClass (#1987)
... (truncated)
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.


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 yourself)
  • @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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @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 your Dependabot dashboard:

  • 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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 4, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/enzyme-3.10.0 branch from 778d146 to 48ad595 Compare December 10, 2019 22:45
@coveralls
Copy link

Coverage Status

Coverage remained the same at 21.921% when pulling 48ad595 on dependabot/npm_and_yarn/enzyme-3.10.0 into c5f40f1 on staging.

@Betree Betree merged commit a6859b3 into staging Dec 15, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/enzyme-3.10.0 branch December 15, 2019 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants