@testing-library/react-native 12.1.0
Simple and complete React Native testing utilities that encourage good testing practices.
@testing-library/react-native@12.1.0 was published on 2023-04-28. Its manifest declares 4 runtime dependencies and 4 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: React Native Testing Library v12 is no longer maintained. Please upgrade to v13 or v14.
All @testing-library/react-native versions · Permanent reference to 12.1.0 · Latest release
Package specifications
| Version | 12.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2023-04-28T09:59:38.774Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 4 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 398.47 KiB |
| Published file count | 173 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | build/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 22 |
| Repository stars | 3427 |
| Repository forks | 278 |
Install @testing-library/react-native 12.1.0
npm install @testing-library/react-native@12.1.0 pnpm add @testing-library/react-native@12.1.0 yarn add @testing-library/react-native@12.1.0
Runtime dependencies
- pretty-format ^29.0.0
- react-native-screens ^3.20.0
- @react-navigation/native ^6.1.6
- react-native-safe-area-context ^4.5.1
Peer requirements
- jest >=28.0.0 (optional peer)
- react >=16.8.0
- react-native >=0.59
- react-test-renderer >=16.8.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @jest/schemas@29.6.3 — indirect
- @react-navigation/core@6.4.17 — indirect
- @react-navigation/native@6.1.18 — direct
- @react-navigation/routers@6.1.9 — indirect
- @sinclair/typebox@0.27.12 — indirect
- ansi-styles@5.2.0 — indirect
- decode-uri-component@0.2.2 — indirect
- escape-string-regexp@4.0.0 — indirect
- fast-deep-equal@3.1.3 — indirect
- filter-obj@1.1.0 — indirect
- nanoid@3.3.20 — indirect
- pretty-format@29.7.0 — direct
- query-string@7.1.3 — indirect
- react-freeze@1.0.4 — indirect
- react-is@16.13.1 — indirect
- react-is@18.3.1 — indirect
- react-native-safe-area-context@4.14.1 — direct
- react-native-screens@3.37.0 — direct
- split-on-first@1.1.0 — indirect
- strict-uri-encode@2.0.0 — indirect
- use-latest-callback@0.2.6 — indirect
- warn-once@0.1.1 — 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.
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
|---|---|
| Maintained | 10/10 — 28 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10 |
| Code-Review | 0/10 — Found 1/30 approved changesets -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 8/10 — SAST tool is not run on all commits -- score normalized to 8 |
Evidence and freshness
- https://registry.npmjs.org/%40testing-library%2Freact-native/12.1.0 — retrieved 2026-10-29T13:56:18.861Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Freact-native/versions/12.1.0:dependencies — retrieved 2026-10-29T13:56:19.411Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Freact-native/versions/12.1.0 — retrieved 2026-10-29T13:56:19.383Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fcallstack%2Freact-native-testing-library — retrieved 2026-10-30T02:41:20.402Z