← Home

@testing-library/react

Simple and complete React DOM testing utilities that encourage good testing practices.

3
Versions
MIT
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures gitHead linked

Maintainers

testing-library-botkentcdoddstimdeschryverpatrickhulcedfcookgpxmpeypermihar-22pagocmckinstrythymikeebrrianalexisjdecroockmdjastrzebskieps1lonphryneasmatanbobi

Keywords

testingreactuidomjsdomunitintegrationfunctionalend-to-ende2e

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance publisher-changed AI (provenance): Package migrated to GitHub Actions CI/CD publishing with SLSA provenance attestation — a security improvement, not a compromise signal. Stable for this package going forward. ai
publish-pattern dormant-publish AI (publish-pattern): Dormancy finding is an artifact of diffing against v14.0.0 baseline; package has 122 versions and is actively maintained. Not a real dormancy signal for this package. ai
source-diff source-size-dropped AI (source-diff): Size drop from 1MB to 140KB reflects major version refactoring (v14→v16): @testing-library/dom and @types/react-dom moved to peer deps. Legitimate architectural change. ai

Versions (showing 3 of 3)

Version Deps Published
16.3.2 1 / 13
16.3.1 1 / 13
14.0.0 3 / 10

v16.3.1

2 findings
HIGH Publisher changed: testing-library-bot → GitHub Actions (on 2025-12-15) provenance

This version was published by a different npm account than previous versions on 2025-12-15. This could indicate a legitimate maintainer transition or an account compromise.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v14.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.