Update dependency @testing-library/react-hooks to v3
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
@testing-library/react-hooks | devDependencies | major | ^3.1.1 | source |
Release Notes
testing-library/react-hooks-testing-library
v3.1.1
##Changes
- Actually included
dont-cleanup-after-each.js
in thenpm
package (#208)
v3.1.0
Changes
- Added
dont-cleanup-after-each
test setup utlitity to disable auto cleanup to match the RTL version
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
)
- Auto register
⚠ ️ 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
Renovate configuration
rebase!
".
-
If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.