Move @testing-library/dom and @types/react-dom to peer dependencies (#1305) (a4744fa)
BREAKING CHANGES
@testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency.
@types/react-dom needs to be installed if you're typechecking files using @testing-library/react.
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
Bumps @testing-library/react from 13.4.0 to 16.0.1.
Release notes
Sourced from
@testing-library/react
's releases.... (truncated)
Commits
3dcd8a9
fix: Add support for exactOptionalPropertyTypes in TypeScript (#1351)7a28fa9
Fix React Canary and Experimental tests (#1353)a4744fa
feat: Move@testing-library/dom
and@types/react-dom
to peer dependencie...c1f2957
fix: Ensureact
is notany
whenReact.act
is not declared (#1323)b6e59f7
fix: export new act when available (#1319)f6a1677
chore: Adjust tests to workaround 18.3.0 bug (#1315)d143f46
fix: Stop restrictingcontainer
option based onhydrate
(#1313)48282c2
fix: EnsurerenderHook
options extend options forrender
(#1308)067d0c6
fix: Don't raise TypeScript errors when hydatingdocument
(#1304)c63b873
fix: ImprovelegacyRoot
error message (#1301)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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show