Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 25, 2025

Bumps @testing-library/jest-dom from 5.16.5 to 6.8.0.

Release notes

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

v6.8.0

6.8.0 (2025-08-20)

Features

v6.7.0

6.7.0 (2025-08-13)

Features

v6.6.4

6.6.4 (2025-07-26)

Performance Improvements

v6.6.3

6.6.3 (2024-10-31)

Bug Fixes

  • add vitest import when extending vitest matchers (#646) (5ba0156)

v6.6.2

6.6.2 (2024-10-17)

Bug Fixes

  • remove recursive type reference in vitest types (#636) (4468378)

v6.6.1

6.6.1 (2024-10-16)

Bug Fixes

  • fix lodash import in to-have-selection.js (#642) (ced792e)

v6.6.0

6.6.0 (2024-10-16)

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

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.5 to 6.8.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](testing-library/jest-dom@v5.16.5...v6.8.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-version: 6.8.0
  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 Aug 25, 2025
@fossabot
Copy link

fossabot bot commented Aug 25, 2025

Dependency Change Summary

@testing-library/jest-dom (5.16.5 → 6.8.0)

Upgrades @adobe/css-tools to version 4.3.1 to fix a security vulnerability. Adds toHaveAccessibleErrorMessage matcher that better follows accessibility specifications and deprecates the existing toHaveErrorMessage matcher.

See raw changes
  • release notes (vv6.1.4): upgrade @adobe/css-tools to 4.3.1 to address vulnerability (#532) (44f1eab)
  • release notes (vv5.17.0): New toHaveAccessibleErrorMessage better implementing the spec, deprecate toHaveErrorMessage (#503) (d717c66)

Adds new matchers toBePressed, toBePartiallyPressed, toHaveSelection, and toHaveRole for testing interactive elements and accessibility states. Updates import paths with platform-specific options for Jest, Vitest, and other testing frameworks, and removes peer dependencies for easier installation.

See other changes
  • release notes (vv6.8.0): add toBePartiallyPressed matcher (#203) (#692) (779b712)
  • release notes (vv6.7.0): add toBePressed matcher (#203) (#658) (cfdf8ae)
  • release notes (vv6.6.3): add vitest import when extending vitest matchers (#646) (5ba0156)
  • release notes (vv6.6.0): implement toHaveSelection (#637) (9b14804)
  • release notes (vv6.4.4): infra: codecoverage token addition (#600) (f03a582)
  • release notes (vv6.4.0): Add toHaveRole matcher (#572) (f7dc673)
  • release notes (vv6.2.1): Standalone types for "./matchers" export and add Bun support (#566) (5675b86)
  • release notes (vv6.0.0): Updated import paths to include new platform-specific paths for extending the "expect" instance
  • release notes (vv6.0.0): Added new import paths to automatically extend "expect" for different test platforms
  • release notes (vv6.0.0): Added import '@testing-library/jest-dom/jest-globals' global import statement
  • release notes (vv6.0.0): Introduced new import path @testing-library/jest-dom/matchers for importing matchers
  • release notes (vv6.6.1): fix lodash import in to-have-selection.js (#642) (ced792e)
  • release notes (vv6.4.5): add js suffix to isEqualWith import (#599) (e8c8b13)
  • release notes (vv6.4.2): Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#575) (a93c0c4)
  • release notes (vv6.6.4): replace chalk with picocolors (#659) (707e647)
  • release notes (vv6.6.2): remove recursive type reference in vitest types (#636) (4468378)
  • release notes (vv6.5.0): toHaveValue: Asserting aria-valuenow (#479) (acbf416)
  • release notes (vv6.4.8): Drop peerDependencies from package.json (#610) (faf534b)
  • release notes (vv6.4.7): Type definition of toHaveClass (#611) (5cc6298)
  • release notes (vv6.4.6): Support @starting-style (#602) (fd9ee68)

Dependency Usage Analysis

The codebase uses @testing-library/jest-dom to extend Jest's assertion capabilities with DOM-specific matchers for testing React components. This package provides custom matchers like toBeInTheDocument(), toHaveClass(), and toBeVisible() that simplify assertions on rendered DOM elements in unit tests. The package is typically imported once in a test setup file and makes its matchers globally available across all test files in the project.

Usage Locations

@testing-library/jest-dom - 1 usage across 1 file:

Impact Assessment - No Action Required

After analyzing 1 package (@testing-library/jest-dom), no breaking impacts were identified. The changes appear to be backward compatible and safe to merge.


This comprehensive analysis uses AI to examine dependency changes, understand usage patterns, and assess the impact on your codebase.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 6, 2025

Superseded by #316.

@dependabot dependabot bot closed this Oct 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/testing-library/jest-dom-6.8.0 branch October 6, 2025 02:36
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.

1 participant