Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

react-test-renderer

React package for snapshot testing without rendering to the DOM.

Testing npm MIT

Used in agent projects
66
0.5% of 12,697 public repos built with AI coding agents
Rank in testing
#15 of 40
by use in those projects
Downloads
9.3M
npm, last 7 days, react-test-renderer
GitHub stars
251K
last push Oct 9, 2026

How react-test-renderer is used

react-test-renderer is a dependency in 66 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #15 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use Jest (87.9%), Babel (JavaScript) (81.8%), React Native (78.8%).

Often used with react-test-renderer

Jest87.9% of react-test-renderer projects · 15.9× more than average
Babel (JavaScript)81.8% of react-test-renderer projects · 21.5× more than average
React Native78.8% of react-test-renderer projects · 48.3× more than average
react-native-safe-area-context71.2% of react-test-renderer projects · 56.9× more than average
react-native-screens66.7% of react-test-renderer projects · 55.0× more than average
React Navigation60.6% of react-test-renderer projects · 65.8× more than average
Expo60.6% of react-test-renderer projects · 39.3× more than average
React Native Gesture Handler59.1% of react-test-renderer projects · 58.6× more than average

By coding agent

Cursor0.9% of projects set up for it
GitHub Copilot0.7% of projects set up for it
Claude Code0.5% of projects set up for it
OpenCode1.9% of projects set up for it

Share of public repos configured for each agent that list react-test-renderer as a dependency.

Install

Packagenpm install react-test-renderer
Main stacksReact Native / Expo (40), TypeScript / JavaScript (19), Ruby (4), Next.js (2)
Example projectsvega-org/vega-app, near/wallet-selector, sigp/siren, liviuepure/baron-wallet, DHR-Store/Vega-Next

Alternatives to react-test-renderer

All testing

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Vitest npm
Next-generation testing framework powered by Vite with native ESM.
1,549 (12.2%) 123M 17.2K MIT
Playwright (JavaScript) npm
Cross-browser automation library for end-to-end testing.
1,117 (8.8%) 74.2M 97.4K Apache-2.0
Testing Library npm
Testing utilities for React encouraging testing user behavior.
915 (7.2%) 68.7M 19.7K MIT
Jest npm
Delightful JavaScript testing framework with minimal configuration.
702 (5.5%) 46.3M 45.6K MIT
jsdom npm
JavaScript implementation of web standards for testing DOM interactions.
681 (5.4%) 112M 21.7K MIT
pytest pypi
Simple, powerful Python testing framework with fixtures and plugins.
330 (2.6%) 196M 14.6K —
Chai npm
BDD/TDD assertion library for Node.js and browsers with expressive syntax.
305 (2.4%) 14M 8,265 MIT
Mocha npm
Feature-rich JavaScript test framework for Node.js and browsers.
281 (2.2%) 12.6M 22.9K MIT
Is react-test-renderer right for your project? Ask AgentGid →