@testing-library/react@16.3.2
// Simple and complete React DOM testing utilities that encourage good testing practices.
$ npm install @testing-library/react
downloads/wk
44,358,026
license
MIT
version
16.3.2
published
Jan 19, 2026
What is @testing-library/react?
@testing-library/react provides utilities for testing React components by simulating user interactions with the DOM, rather than testing implementation details. Developers use it to write unit, integration, and end-to-end tests that verify how components behave from a user's perspective. It works with jsdom to run tests in a Node environment without a browser.
Links
Keywords
Dependencies (1)
Maintainers
testing-library-bot, kentcdodds, timdeschryver, patrickhulce, dfcook, gpx, mpeyper, mihar-22, pago, cmckinstry, thymikee, brrianalexis, jdecroock, mdjastrzebski, eps1lon, phryneas, matanbobi