Install
@testing-library/jest-dom
Custom jest matchers to test the state of the DOM
8.0.0Latest, 19 Nov 2026
433MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
4.6KStars
5.8/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Setting up Jest, jest-dom, React Testing Library + linting for Next 16 dev.to, 26 Nov 2025
- toBeInTheDocument Matcher Not Working in Vitest with @testing-library/jest-dom stackoverflow.com, 9 Dec 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.