{"name":"react-test-renderer","version":"0.0.0-375616788","keywords":["react","react-native","react-testing"],"license":"MIT","_id":"react-test-renderer@0.0.0-375616788","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":"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":"00a1910375468ceeefa82463f3d8495d59cddcb1","tarball":"http://registry-npm.ywwl.com/react-test-renderer/download/react-test-renderer-0.0.0-375616788.tgz","fileCount":14,"integrity":"sha512-AsqJJC84fBiMFNSzQZVyiAxz9FTyf4oKXyaMruxrtb/3LTssf8sRZgbvKYKHQetsi+OZXSUPCZoPaqKhqq6B3w==","signatures":[{"sig":"MEQCIBYHM/4lrOYAt3M2z51cykPpvI2BUzGtRmjZKyc9/XGDAiA6M9QILRgXAOvwDiqytD8G+N4C3H6MH5GABdj0LrnDPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1444862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQkntCRA9TVsSAnZWagAA1EIQAIKumQhrqQePnExqQehJ\nrmd8wgKNkqhAU7KEPW03hg39CbmhD129MemJENWDBCQgRwdLDrSAgiByr9+3\nJZYfclLi2VgYp5SYtDk/g8nyCjSNZUfXGl+TLg39UnT7+FtEitzt7Q4uyiRm\nqeZGhfY+F1JFd73KX+dXVCHnMSZE/G1HGDpTkVWy561gVA/Pw78JA9UFrR86\n+Jya9SPQCkKH4fH+71DiB2/ZrtZkfqBsI7M0GgCh/+K9zez7wReYNljoM+OD\nRO+a2HRySfbfL0uhK64ODF36QAGeYx8A74e9z7s0x2HckUQ03o8rLtG6AYQ/\ngMQQWrdzeDlYeQCG5IVHxVhDT8MnFtyEpRZ/aNLMTeSbWtNlGoAaXdSIZGMP\n1iqs0y72pVzMVzKVlIqzbjQMa3PuhnStZsnUVacitsGvtK6PVct97q4FkCfx\nkeDPyoi2afk4foQEeSbZLAKJc1wn9AUrLHJlUeF07uqjztE1sigtVSuyewmX\nVfoawk6OTzx9L+Bh0a7RLguyrDSRpFzizFQUQ2nkStH+7Lq2QeP2maXUvI66\ntz/qFUJaXl929HgJmFkqrZLDEHHP+gK7BEFhTSkJcSp56nuiJfhnX7uJ3iqI\nMv244rma7GYL/TT2rhITy9/4vufuRzYBxf0vJXm84BreSLwzF6rgDE7t5D27\ntdxc\r\n=Fooe\r\n-----END PGP SIGNATURE-----\r\n","size":326667,"noattachment":false,"key":"/react-test-renderer/-/react-test-renderer-0.0.0-375616788.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":"acdlite","email":"npm@andrewclark.io"},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git","directory":"packages/react-test-renderer"},"_npmVersion":"6.4.1","description":"React package for snapshot testing.","directories":{},"_nodeVersion":"10.14.2","dependencies":{"react-is":"0.0.0-375616788","scheduler":"0.0.0-375616788","prop-types":"^15.6.2","object-assign":"^4.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"0.0.0-375616788"},"_npmOperationalInternal":{"tmp":"tmp/react-test-renderer_0.0.0-375616788_1564625389123_0.4694157116126825","host":"s3://npm-registry-packages"},"publish_time":1564625389320,"_cnpm_publish_time":1564625389320,"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"}}