react-testing-library 2.3.0
Simple and complete React DOM testing utilities that encourage good testing practices.
react-testing-library@2.3.0 was published on 2018-04-27. Its manifest declares 2 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=6.
Deprecated: ๐จ react-testing-library has moved to @testing-library/react. Please uninstall react-testing-library and install @testing-library/react instead, or use an older version of react-testing-library. Learn more about this change here: https://github.com/testing-library/dom-testing-library/issues/260 Thanks! :)
All react-testing-library versions ยท Permanent reference to 2.3.0 ยท Latest release
Package specifications
| Version | 2.3.0 |
|---|---|
| License declaration | MIT |
| Published | 2018-04-27T01:36:34.916Z |
| Node.js requirement | >=6 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 42.73 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 31 |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install react-testing-library 2.3.0
npm install react-testing-library@2.3.0 pnpm add react-testing-library@2.3.0 yarn add react-testing-library@2.3.0
Runtime dependencies
- dom-testing-library ^1.10.0
- wait-for-expect ^0.5.0
Peer requirements
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- ansi-regex@3.0.1 โ indirect
- ansi-styles@3.2.1 โ indirect
- atob@2.1.2 โ indirect
- chalk@2.4.2 โ indirect
- color-convert@1.9.3 โ indirect
- color-name@1.1.3 โ indirect
- css@2.2.4 โ indirect
- decode-uri-component@0.2.2 โ indirect
- diff@3.5.1 โ indirect
- dom-testing-library@1.11.0 โ direct
- escape-string-regexp@1.0.5 โ indirect
- has-flag@3.0.0 โ indirect
- indent-string@3.2.0 โ indirect
- inherits@2.0.4 โ indirect
- jest-diff@22.4.3 โ indirect
- jest-dom@1.12.1 โ indirect
- jest-get-type@22.4.3 โ indirect
- jest-matcher-utils@22.4.3 โ indirect
- mutationobserver-shim@0.3.7 โ indirect
- pretty-format@22.4.3 โ indirect
- pretty-format@23.6.0 โ indirect
- redent@2.0.0 โ indirect
- resolve-url@0.2.1 โ indirect
- source-map@0.6.1 โ indirect
- source-map-resolve@0.5.3 โ indirect
- source-map-url@0.4.1 โ indirect
- strip-indent@2.0.0 โ indirect
- supports-color@5.5.0 โ indirect
- urix@0.1.0 โ indirect
- wait-for-expect@0.4.0 โ indirect
- wait-for-expect@0.5.0 โ direct
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.
Evidence and freshness
- https://registry.npmjs.org/react-testing-library/2.3.0 โ retrieved 2026-10-31T21:08:30.235Z
- https://api.deps.dev/v3/systems/npm/packages/react-testing-library/versions/2.3.0 โ retrieved 2026-10-31T21:08:30.713Z
- https://api.deps.dev/v3/systems/npm/packages/react-testing-library/versions/2.3.0:dependencies โ retrieved 2026-10-31T21:08:30.812Z