byte-fe / react-model

The next generation state management library for React
235 stars 22 forks source link

Update @testing-library/react-hooks to the latest version ๐Ÿš€ #132

Closed greenkeeper[bot] closed 4 years ago

greenkeeper[bot] commented 4 years ago

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โ€™t 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](https://greenkeeper.io/faq.html). If those donโ€™t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 4 years ago

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[bot] commented 4 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 4 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 4 years ago

Update to this version instead ๐Ÿš€