{"name":"react-test-renderer","version":"0.0.0-fa1e8df11","keywords":["react","react-native","react-testing"],"license":"MIT","_id":"react-test-renderer@0.0.0-fa1e8df11","maintainers":[{"name":"acdlite","email":"npm@andrewclark.io"},{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"flarnie","email":"flarnie.npm@gmail.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"sebmarkbage","email":"sebastian@calyptus.eu"},{"name":"sophiebits","email":"npm@sophiebits.com"},{"name":"threepointone","email":"threepointone@gmail.com"},{"name":"trueadm","email":"dg@domgan.com"},{"name":"zpao","email":"paul@oshannessy.com"}],"homepage":"https://reactjs.org/","bugs":{"url":"https://github.com/facebook/react/issues"},"dist":{"shasum":"375fc3f10712852de499a123b20cf9c7a5a2ed53","tarball":"http://registry-npm.ywwl.com/react-test-renderer/download/react-test-renderer-0.0.0-fa1e8df11.tgz","fileCount":14,"integrity":"sha512-wtk2NOCYaeqydZHNFl1SdaYTE4GH0b4S6iGdbWDqIUVjMCjBwMELTUI0aboCwZvc0kIdSHMqXWoWqNVt+XQxwQ==","signatures":[{"sig":"MEUCIB7d08OPAu3vasaiF7KAkhAs+ZQhyobtel3/f934YU1TAiEA9kBR+Hj5ucpS+ukma+wn2COhNH9PLnKlPHFPIqPeKpA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1335531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9YtKCRA9TVsSAnZWagAAbSgP/2aaD05OxCFD0ttDJVfH\nf6Cnte8p5GP8Hf6GexBtFjhjoAwA2xIOg2JrqlVp8d8gZGdbe1OV7KUtzUsH\nCsVatWy14Tih/VI7pSljn9UXa1GkYXOP89ZZeGrZfXq/D2d3xqXmSHYYwRZV\nOIpaTkF9IAxBUDbrM4GIxAA2YoxhojW4QLSe15HS+gMUpB63tkreWqd0ChA1\nwa65fxkPOkOzVomOSbJvUT07Cokgqa0LU9h0RV/EZx7e09+S5mGoEnk1tT75\n1AO56IdeeKwO4vRk6JWkClbQT/+YCPrP8lU3YpFLbuTHS2Jivb1QTEgSvW27\nCNnvhAH+Sn3jpRS7gc6z4MM4Gd3DymkVtpP3SwspvXk/IzokFP/rKguaZm3J\n/Wr8IKbxWhKmh4j1tEck1fI5joqXY+3jt3C4+RFZaW6fxOFHPrnofnS65RNz\n0idvd8xZMJYGGH3qeHVa1Pi1vwRA+PeVR8VxAv0/8v6aCIZ/B3VCJc1meJLP\nC9D8uhgcd6zTSfqNIACk+W0sdpKjqueQy0XtchqlMKo1AP1hDE7WsqdC8txT\nP+o1Fopmp3u6v4sS7xXkEytqbqvsRRqT7LCCQ/VTt8h6TyCfhd0rq5L2if66\n9nY1I3KtX0KOfRzZl3qliwwHz7gwIVh2/aIKpGXWWx9hdBheTIHaPt5jegI0\nucGq\r\n=AVss\r\n-----END PGP SIGNATURE-----\r\n","size":304539,"noattachment":false,"key":"/react-test-renderer/-/react-test-renderer-0.0.0-fa1e8df11.tgz"},"main":"index.js","readme":"# `react-test-renderer`\n\nThis package provides an experimental React renderer that can be used to render React components to pure JavaScript objects, without depending on the DOM or a native mobile environment.\n\nEssentially, this package makes it easy to grab a snapshot of the \"DOM tree\" rendered by a React DOM or React Native component without using a browser or jsdom.\n\nDocumentation:\n\n[https://reactjs.org/docs/test-renderer.html](https://reactjs.org/docs/test-renderer.html)\n\nUsage:\n\n```jsx\nconst ReactTestRenderer = require('react-test-renderer');\n\nconst renderer = ReactTestRenderer.create(\n  <Link page=\"https://www.facebook.com/\">Facebook</Link>\n);\n\nconsole.log(renderer.toJSON());\n// { type: 'a',\n//   props: { href: 'https://www.facebook.com/' },\n//   children: [ 'Facebook' ] }\n```\n\nYou can also use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: https://facebook.github.io/jest/blog/2016/07/27/jest-14.html.\n","_npmUser":{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git","directory":"packages/react-test-renderer"},"_npmVersion":"6.7.0","description":"React package for snapshot testing.","directories":{},"_nodeVersion":"11.15.0","dependencies":{"react-is":"0.0.0-fa1e8df11","scheduler":"0.0.0-fa1e8df11","prop-types":"^15.6.2","object-assign":"^4.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"0.0.0-fa1e8df11"},"_npmOperationalInternal":{"tmp":"tmp/react-test-renderer_0.0.0-fa1e8df11_1559595849086_0.6881789780673557","host":"s3://npm-registry-packages"},"publish_time":1559595849358,"_cnpm_publish_time":1559595849358,"dist-tags":{"backport":"19.1.10","beta":"19.0.0-beta-26f2496093-20240514","canary":"19.3.0-canary-df6aa4ec-20261112","experimental":"0.0.0-experimental-df6aa4ec-20261112","latest":"19.3.1","next":"19.3.0-canary-d5736f09-20260507","rc":"19.0.0-rc.1"}}