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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @testing-library/react-hooks to the latest version 馃殌 #14

Merged
merged 2 commits into from Dec 3, 2019

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Oct 16, 2019

The devDependency @testing-library/react-hooks was updated from 2.0.3 to 3.0.0.

This version is not covered by your current version range.

If you don鈥檛 accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: mpeyper
License: MIT

Release Notes for v3.0.0

Changes

  • Added global cleanup that unmounts test components to clean up residual effects between tests (#199)
    • Auto register afterEach in supported test frameworks to auto run cleanup as per testing-library/react-testing-library#430
    • Supports opt out via and environment variable opt out (RHTL_SKIP_AUTO_CLEANUP=true)

鈿狅笍 Breaking Changes

  • Most users won't be affected by the autoregistration of the auto-cleanup, but if anyone was relying on their effects persiting between tests then this will be a breaking change for them
Commits

The new version differs by 25 commits.

  • 016e960 3.0.0
  • 09c2fdd Merge pull request #199 from testing-library/pr/cleanup
  • d80825d Update PULL_REQUEST_TEMPLATE.md
  • 217e299 Moved cleanup definition in logs to match other API references
  • 73c1f61 Moved cleanup logic into seperate file
  • ba02be0 Documented the cleanup and auto-cleanup functionality
  • eb400b1 Remove accidentally committed test file
  • 183c3ce Added cleanup and autocleanup functionality
  • 9c6472b Merge pull request #198 from testing-library/renovate/husky-3.x
  • bd5f69a Update dependency husky to v3.0.9
  • f343e59 Merge pull request #197 from kahwee/patch-1
  • 3889e23 Add { act } to be part of import
  • 28ee690 Merge pull request #196 from samnoh/master
  • f3ff6ac Fix typos in docs
  • ba72b1f Merge pull request #195 from testing-library/renovate/babel-monorepo

There are 25 commits in total.

See the full diff


FAQ and help

There is a collection of frequently asked questions. If those don鈥檛 help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 馃尨

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 17, 2019

Update to this version instead 馃殌

Release Notes for v3.1.0

Changes

  • Added dont-cleanup-after-each test setup utlitity to disable auto cleanup to match the RTL version
Commits

The new version differs by 2 commits.

  • a63b6f9 3.1.0
  • bfc582d Added dont-cleanup-after-each.js setup utility

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 27, 2019

Update to this version instead 馃殌

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 5, 2019

Update to this version instead 馃殌

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 5, 2019

Update to this version instead 馃殌

@alex-cory alex-cory merged commit 67967d1 into master Dec 3, 2019
@alex-cory alex-cory deleted the greenkeeper/@testing-library/react-hooks-3.0.0 branch December 3, 2019 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant