@testing-library/jest-dom
Custom jest matchers to test the state of the DOM
@testing-library/jest-dom@7.0.1 was published on 2026-08-09. Its manifest declares 6 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.
All @testing-library/jest-dom versions · Permanent reference to 7.0.1
Package specifications
| Version | 7.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-08-09T23:44:33.598Z |
| Node.js requirement | >=22 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 6 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 324.09 KiB |
| Published file count | 38 |
| Package type | Not declared |
| ES module entry | dist/index.mjs |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 9 |
| Repository stars | 4603 |
| Repository forks | 425 |
Install @testing-library/jest-dom 7.0.1
npm install @testing-library/jest-dom@7.0.1 pnpm add @testing-library/jest-dom@7.0.1 yarn add @testing-library/jest-dom@7.0.1
Runtime dependencies
- redent ^3.0.0
- aria-query ^5.0.0
- css.escape ^1.5.1
- picocolors ^1.1.1
- @adobe/css-tools ^4.4.0
- dom-accessibility-api ^0.6.3
Peer requirements
- vitest >= 0.32 (optional peer)
- @testing-library/dom >=10 <11
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @adobe/css-tools@4.5.0 — direct
- aria-query@5.3.2 — direct
- css.escape@1.5.1 — direct
- dom-accessibility-api@0.6.3 — direct
- indent-string@4.0.0 — indirect
- min-indent@1.0.1 — indirect
- picocolors@1.1.1 — direct
- redent@3.0.0 — direct
- strip-indent@3.0.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Maintained | 5/10 — 4 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5 |
| Code-Review | 9/10 — Found 18/20 approved changesets -- score normalized to 9 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40testing-library%2Fjest-dom/7.0.1 — retrieved 2026-10-29T11:48:53.959Z
- https://api.deps.dev/v3/projects/github.com%2Ftesting-library%2Fjest-dom — retrieved 2026-10-29T10:14:22.761Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Fjest-dom/versions/7.0.1 — retrieved 2026-10-29T12:15:31.112Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Fjest-dom/versions/7.0.1:dependencies — retrieved 2026-10-29T12:15:31.145Z