Skip to content

chore(deps-dev): bump @testing-library/react from 13.0.0 to 15.0.5#19194

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/testing-library/react-15.0.5
Open

chore(deps-dev): bump @testing-library/react from 13.0.0 to 15.0.5#19194
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/testing-library/react-15.0.5

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2026

Bumps @testing-library/react from 13.0.0 to 15.0.5.

Release notes

Sourced from @​testing-library/react's releases.

v15.0.5

15.0.5 (2024-04-26)

Bug Fixes

  • Stop restricting container option based on hydrate (#1313) (d143f46)

v15.0.4

15.0.4 (2024-04-23)

Bug Fixes

  • Ensure renderHook options extend options for render (#1308) (48282c2)

v15.0.3

15.0.3 (2024-04-23)

Bug Fixes

  • Don't raise TypeScript errors when hydating document (#1304) (067d0c6)

v15.0.2

15.0.2 (2024-04-13)

Bug Fixes

v15.0.1

15.0.1 (2024-04-11)

Bug Fixes

v15.0.0

15.0.0 (2024-04-10)

Release

BREAKING CHANGES

... (truncated)

Commits

Dependabot compatibility score

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

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.0.0 to 15.0.5.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v13.0.0...v15.0.5)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-version: 15.0.5
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 5, 2026
Comment on lines 48 to +49
"devDependencies": {
"@testing-library/react": "^13.0.0",
"@testing-library/react": "^15.0.5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The renderHook import in profiler.test.tsx uses the deprecated @testing-library/react-hooks package, which is incompatible with React 18 and will cause test failures.
Severity: CRITICAL

Suggested Fix

In packages/react/test/profiler.test.tsx, change the import from @testing-library/react-hooks to @testing-library/react. Then, remove the @testing-library/react-hooks dependency from package.json.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: packages/react/package.json#L48-L49

Potential issue: The PR upgrades `@testing-library/react`, which now includes the
`renderHook` function. However, the test file `packages/react/test/profiler.test.tsx`
continues to import `renderHook` from the old `@testing-library/react-hooks` package.
This package is still listed as a dev dependency but is incompatible with the project's
React 18 version. This mismatch will cause tests to fail at runtime, blocking the CI
pipeline and preventing the deployment of this change.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants