feat(deps)!: Update dependency @testing-library/jest-dom (6.9.1 → 7.0.0)#638
Conversation
There was a problem hiding this comment.
AI Automated Review
Full PR review.
Analysis engine: MiniMax-M2.7@https://litellm.jory.dev/v1 (anthropic) — escalated (fast_low_confidence)
Review: Update @testing-library/jest-dom (6.9.1 → 7.0.0)
Recommendation: Approve — the upgrade is safe and all required checks are satisfied.
Change Summary
This PR upgrades @testing-library/jest-dom from ^6.9.1 to ^7.0.0, a major version bump that adds two new query matchers (toContainAnyBy* and toContainOneBy*).
Required Checks
-
check for breaking API changes in updated dependencies: Verified. The v7.0.0 release notes document one breaking change:
@testing-library/domis now a required peer dependency (previously optional), and the minimum supported Node.js version is now 22. Both conditions are satisfied: the repository uses Node.js 24 (pinned in.github/actions/setup-node/action.ymland.github/workflows/manual-release.yml), and the peer dependency (@testing-library/dom) is already available transitively via@testing-library/react ^16.3.2in the project's devDependencies. No existing APIs are removed; the new matchers are additive. -
run full test suite after upgrade: Verified. The CI check results show
Tests: successfor this PR's commit (8d2d38f), confirming the full test suite passes with the upgraded dependency.
Standards Compliance
- The dependency follows the repository's pattern of pinning major-version ranges with caret notation (
^7.0.0). - The PR title correctly uses the
!convention (as shown infeat(deps)!:) to signal a breaking version bump, consistent with conventional commits. - The
vitest.setup.tsimport pathimport "@testing-library/jest-dom/vitest"remains valid in v7.0.0.
Tool Harness Findings
All checks passed: typecheck, lint, tests, build, Docker build, and review.
Unknowns or Needs Verification
None. The peer dependency requirement is satisfied by existing transitive dependencies, the Node.js 22+ requirement is met by the repository's Node 24 runtime, and the CI confirmed all tests pass.
This PR contains the following updates:
^6.9.1→^7.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
v7.0.0Compare Source
Features
BREAKING CHANGES
Node.js version is now 22.
Repaired release for #731
v6.10.0Compare Source
Features
Configuration
📅 Schedule: (in timezone America/Edmonton)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.