Skip to content

Commit

Permalink
Bump @testing-library/react from 14.2.1 to 16.0.0 (#25)
Browse files Browse the repository at this point in the history
Bumps
[@testing-library/react](https://github.com/testing-library/react-testing-library)
from 14.2.1 to 16.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testing-library/react-testing-library/releases"><code>@​testing-library/react</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v16.0.0</h2>
<h1><a
href="https://github.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0">16.0.0</a>
(2024-06-03)</h1>
<h3>Features</h3>
<ul>
<li>Move <code>@testing-library/dom</code> and
<code>@types/react-dom</code> to peer dependencies (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1305">#1305</a>)
(<a
href="https://github.com/testing-library/react-testing-library/commit/a4744fa904bf11812c92093226c3805450472636">a4744fa</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li><code>@testing-library/dom</code> was moved to a peer dependency and
needs to be explicitly installed. This reduces the chance of having
conflicting versions of <code>@testing-library/dom</code> installed that
frequently caused bugs when used with
<code>@testing-library/user-event</code>. We will also be able to allow
new versions of <code>@testing-library/dom</code> being used without a
SemVer major release of <code>@testing-library/react</code> by just
widening the peer dependency.
<code>@types/react-dom</code> needs to be installed if you're
typechecking files using <code>@testing-library/react</code>.</li>
</ul>
<h2>v15.0.7</h2>
<h2><a
href="https://github.com/testing-library/react-testing-library/compare/v15.0.6...v15.0.7">15.0.7</a>
(2024-05-07)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Ensure <code>act</code> is not <code>any</code> when
<code>React.act</code> is not declared (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1323">#1323</a>)
(<a
href="https://github.com/testing-library/react-testing-library/commit/c1f2957a219ec7e6a6159a57c5d0717655c515cd">c1f2957</a>)</li>
</ul>
<h2>v15.0.6</h2>
<h2><a
href="https://github.com/testing-library/react-testing-library/compare/v15.0.5...v15.0.6">15.0.6</a>
(2024-05-01)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>export new act when available (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1319">#1319</a>)
(<a
href="https://github.com/testing-library/react-testing-library/commit/b6e59f7d58c69f617cc9854d8c3e6f86c2dfb0e9">b6e59f7</a>)</li>
</ul>
<h2>v15.0.5</h2>
<h2><a
href="https://github.com/testing-library/react-testing-library/compare/v15.0.4...v15.0.5">15.0.5</a>
(2024-04-26)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Stop restricting <code>container</code> option based on
<code>hydrate</code> (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1313">#1313</a>)
(<a
href="https://github.com/testing-library/react-testing-library/commit/d143f46b39cbc750630a5cf2863182b4036d35ac">d143f46</a>)</li>
</ul>
<h2>v15.0.4</h2>
<h2><a
href="https://github.com/testing-library/react-testing-library/compare/v15.0.3...v15.0.4">15.0.4</a>
(2024-04-23)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Ensure <code>renderHook</code> options extend options for
<code>render</code> (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1308">#1308</a>)
(<a
href="https://github.com/testing-library/react-testing-library/commit/48282c2f35fb7338834b40983c12b889af35f5d1">48282c2</a>)</li>
</ul>
<h2>v15.0.3</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/a4744fa904bf11812c92093226c3805450472636"><code>a4744fa</code></a>
feat: Move <code>@testing-library/dom</code> and
<code>@types/react-dom</code> to peer dependencie...</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/c1f2957a219ec7e6a6159a57c5d0717655c515cd"><code>c1f2957</code></a>
fix: Ensure <code>act</code> is not <code>any</code> when
<code>React.act</code> is not declared (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1323">#1323</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/b6e59f7d58c69f617cc9854d8c3e6f86c2dfb0e9"><code>b6e59f7</code></a>
fix: export new act when available (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1319">#1319</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/f6a1677501b53471f6a989078726aeb0dea114be"><code>f6a1677</code></a>
chore: Adjust tests to workaround 18.3.0 bug (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1315">#1315</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/d143f46b39cbc750630a5cf2863182b4036d35ac"><code>d143f46</code></a>
fix: Stop restricting <code>container</code> option based on
<code>hydrate</code> (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1313">#1313</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/48282c2f35fb7338834b40983c12b889af35f5d1"><code>48282c2</code></a>
fix: Ensure <code>renderHook</code> options extend options for
<code>render</code> (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1308">#1308</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/067d0c6d2e87092f6ecaa8c9fcf505e4576055cf"><code>067d0c6</code></a>
fix: Don't raise TypeScript errors when hydating <code>document</code>
(<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1304">#1304</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/c63b873072d62c858959c2a19e68f8e2cc0b11be"><code>c63b873</code></a>
fix: Improve <code>legacyRoot</code> error message (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1301">#1301</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/1645d21950ab8e3c6740b7e51b8a179a4c975c24"><code>1645d21</code></a>
fix: Stop using nullish coalescing (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1299">#1299</a>)</li>
<li><a
href="https://github.com/testing-library/react-testing-library/commit/787cb85f8baa3d2e2a9916b7dad12c0a76d787a4"><code>787cb85</code></a>
Release: 15.0.0 (<a
href="https://redirect.github.com/testing-library/react-testing-library/issues/1295">#1295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/testing-library/react-testing-library/compare/v14.2.1...v16.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/react&package-manager=npm_and_yarn&previous-version=14.2.1&new-version=16.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 21, 2024
1 parent 7f83d90 commit d6afc9e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 89 deletions.
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@mui/icons-material": "^5.15.7",
"@mui/material": "^5.15.7",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.16",
Expand Down
104 changes: 16 additions & 88 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d6afc9e

Please sign in to comment.