{"_id":"native-testing-library","_rev":"33-9ab8e56d24afeebe9868f8da50e777b6","name":"native-testing-library","dist-tags":{"latest":"4.0.0","beta":"3.0.0-beta.10","rc":"3.0.0-rc.5"},"versions":{"1.0.0":{"name":"native-testing-library","version":"1.0.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-dom":"^3.1.3","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"07cc152b02922e1a463b85bc6b77c088776f90b3","_id":"native-testing-library@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-EdwIdumPh/fvDBpDt/C3KDLOEEbuRI8JZOVtWY4vxASap6BZP3hOswEDV2RiAoUE7AvOckuXks3ROH+rOoxAPQ==","shasum":"9f728970d416b035d91bb82f8018bfc96ec1dac1","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.0.0.tgz","fileCount":17,"unpackedSize":34735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcohCfCRA9TVsSAnZWagAAHSoP/1Wmcbq8wysMFvsIqUs8\nI0CnWidM287HxzNay2J9fqmMggvcuTc78AcGIAKtqLlQmiYYrh6bB6uX58Je\nABNP/yV39InP/CUq3D3bnhx7rY/UzlNLei0RqUpVf4T2gdiYV6lKEHLaj7ZA\nmEhIbUTTNPeaO0zSu8Ah1yevKe2aOLM1j4O7g8P3NYmZHqyvdNXs27KjF9cy\nSlHLUzBdh8M2gyT/Wmqa3wOVAQ9BVJ+OPfUo7bTFHf9adG0EdLJJyhCwOal2\nra9H0wkQsyHN+YAP0Em4fSNzdYQtpB6nkRSzvneL3ZM3ZpA+/bU/7Z9I+gdR\nBa4L8FJ/akG66Eg00GhcRR1IWtLILHei/+G1MjKFychnUQRrfVNdbZHbtp/b\n9YxOnewb7Dr3zoHgHdEyDlqw6/mBE8DF0hzSeUQtMlAxIjcVA01ha73xeqQv\nLMbp/slYxjc9/ehsrPxO3FNkE964pPt502mt+j56lFD/aX6JZctMHzU2JPkq\nTDnNji/n17hn8Xgo4ktNz5pMOSGybOj5nVY0wjbhpwC7P/jKGjjeC3NP5EmG\nsYHny9qob5chmly9VoiH53K1riz0F3VWumXi2MmIRj8a6FToAyEfhK4a/Nfm\nxf8663KrGS/BbbIIMh85xbxR1DksXCIfd6dWwL7CjrUG+xgmau7NxTC7+Giq\nP6Ev\r\n=2ya9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2p6D51gbUDCptJpQwWvus+15/jvdLPySaerK1OE3hQAiEAv5Z+ldnYsaPqH7LbqY7EFRCGnqK/tOseJ2Nd36Flrr8="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.0.0_1554124959024_0.8420121388622399"},"_hasShrinkwrap":false},"1.1.0":{"name":"native-testing-library","version":"1.1.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-dom":"^3.1.3","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"c57ab2009746b2227ea0d629f0ef4cdd0ec78787","_id":"native-testing-library@1.1.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-vzJBd3D65kXM0EyDLzFh74ssLDRZqVwz0GYTUoPFb18d1A2aawEkOBKDbweixPF3ounJbwNWDVNdp9i0AOzdtw==","shasum":"ae20a4182c4f1133d679dc78580d588202fa95ed","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.1.0.tgz","fileCount":17,"unpackedSize":35499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcosReCRA9TVsSAnZWagAA6XUP/0CpFdV9rCdpNHBOIajB\nTC4TE30htur5hYXDYjVwtpiwmwOySvRfMeMUluSaiY43Dm5xqpav9vQUu5Tt\n3Q/I8/qrlo1MQM+382Ebc8cKx4cGmhE2rgiUsRHI/aa0QBft8E6UcWRVyvWp\nzUDerQkadKtVgLujVK5sujLExND7qKRyqtgfiWzdMS5ZxncG841nHu1GGltP\n/cUg/b5U/CUzpaFcYukEvAqkaNBZ5UjLcFjHabM8gAnPv1sQ6K0QpbHIVQCc\nSHqsFqT09faR+/Wi4T52Lc6WCSLVYZ3TTpTNDY43Nxhy2MHh7pgNktYXVnna\nqJ9JKuKWv92O4B8VfhKmuR67PCjsuLeG4ECXbGuX+KlB72FGTIGgSpSRpSsC\nb6QEHDNQ4LGLp+ZXKPpjANy78GaCqO6bcXUPi/YEcUMNiHg3hIUjBTZIjTNu\n3o1KfXrc9qO1ibosrXw9JQ4UnckbIZCf7k5e8EV7vdjlob1bCM4f8oHeE9mi\nKzXtYUkO2iebmxefgvycSlpeONglRBNDVlbmAyUDDRbf+xmd91O38Np2Qudi\n1+Ria/fhWB8wquWKh2bUo3rdIDEMvEYRLhGgGl2ey4dIAJeO5ryQ9tz8DniZ\nSL5guKL4HaCV1adjrh2+xpjPcqTo0yQAGZAoXS6dyrvQqIkLfcpcLEuQVJ9v\nH20C\r\n=9n59\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBYdO7ILyBRlZWZYaoT1lmbCja9Y3SftdT8oClBKDEmAiAloLVAn16Rxhk/XZhpSaBpamzZmGBy+zG5nt4vc0fpLA=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.1.0_1554170973943_0.8949431819460412"},"_hasShrinkwrap":false},"1.2.0":{"name":"native-testing-library","version":"1.2.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-dom":"^3.1.3","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"6016766e339ba96cbd1b65860023758641c346be","_id":"native-testing-library@1.2.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-E/nIqx45yvXN65jOe7vuRWhLcvF7KrwJ6lFofroHKaepuoCbx1vpIMwDNfO/9YXdFCkfhFynrum+F3eMzrC8IQ==","shasum":"d12a0f1826096a7d87d28ab94da3c809d3634e6e","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.2.0.tgz","fileCount":17,"unpackedSize":41642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpVsCCRA9TVsSAnZWagAAurwP/3I7naycQZF+zwWJaDyX\nUK2t6g0YKq8oq03rG22huLcbIYfJ4AZ+65HYKv4QYb3Z/qZ3oTTkQ71TPbfZ\naCweA/ncxqDTFdzMwDe475uFxb/PeWyw9SweHz81DhBLjvZsKB8gI8sg28L8\nyJ6ebp2zQVHaXGXKYU96XQg4iyqHXXiy2NfFbt0kIRE5Q3jPj/pOVp/fcJkO\nO1UgVuJe9MA+lTc4hfDNNxq4dh0ri+tIkDSLguSSEKuSuW8wqwxZWUriL1AJ\nC3hgR0CEKDxzcu8HgDO99eOQgOuEMwtyLSxgqkPwUCqQgKiJ21t7aB09LTyC\n9nRyu50Ziyk9gHu046wVwwG5sYa8DYGPaoriOj1uiNU6KkI8+nIphMv5esMy\nnQavgqcCo84t8eFmrOW9k1bRFhInUyqFYxMPVNhgd0bu/CXkGiHunxl5WMBE\ng6ZYOLds1RcKmc73zerNih4+CZKw2N18/3C0gXGkky+w7oXQIWdsyerSM2Mr\n/WV8GpOyAllr1aGGGJDK3lwO6tMNMQQCtxyIZKHG4KBvAKvzKpo8LbhAfjW1\nRFvpzkezyvVk4/a66FKtJCep4YZ5WRnouUDCdCF3RmHUZfpw/cym4yDBG81c\n0bK3VkUrSeONmEMJK1KtIQ0vkGEnxH17wTe3jXA0O6Otfc/4Tf4wTYcmVBKn\n8kmM\r\n=3GmR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUcJaoeRBsx0qJVrI4mvZ4Mw2Bwe6lvBUlMoCdsQH6ZQIgBYcBqpmlZJ5RsaD71ULEkKldjUVaB9mq4rF8jDB34jg="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.2.0_1554340609918_0.5532596559331344"},"_hasShrinkwrap":false},"1.3.0":{"name":"native-testing-library","version":"1.3.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"f45d4c51e70e09d18b64a6e490f19265eb7a16ee","_id":"native-testing-library@1.3.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-qNP40q5w/1Zb0QiyCn8IosEvQgy4+os2lo7HulmKigJc9rAIGaU+zQlO2CibD0w1RRgy50IGCHHqfh5eghv3kw==","shasum":"f66acaa965630f46797bbb569b9276e009d5c2fe","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.3.0.tgz","fileCount":19,"unpackedSize":45755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp/oJCRA9TVsSAnZWagAANO0P/Rc1ZZyTO0bSLwuS6oog\n1jufs875S8JhuijyZWQRcZGlwOOZIdr6cUYzDWIwhDb0YIAi6WTPr/Yt0G5u\nK90XavbTyauhYHrs9s1KTjQA1EMbgbw1OT/L1ngRwOswz4EsdiiZ49E3+rFB\nWTZPk0YsC3pkmiForGL+DfH7y1KiaFDNz4fbokT7U1Lkz2Kc7jmxEazUz2KM\n+JQ994A0P8nH+VKhbTypcvF/YyrZEBwjtO4m8h9RK6FJDCwBTEIuJqIYGU5G\njjS/qNKNESRY1EXB9grh2U4858H43N04KcMyfFTN0ov+iNe/ou7Cx1DnnJJr\nLL3FXX5SEsnJTw4inFNVnPUpCqGdFABFsWUejk1Lk/mI2NSLqfSM12OfON+G\nvTd8x4xg+Njd+fMYdmLOd6sgFUTDYhNbYNR7NSpjCNmA/aOAM9rIwlhoShNd\nP1INDAYx7sCYka2eQNXnLJzyvTJFg/jeiDIbB+JCE90tsCEzcwR+0uaMh1mN\nV5wykjtnj+a+Wo4D/80vhN3APFaKGxfecM+wKJTpxQIif3Al4e6PVw4vzqQN\nrH836JIfRBPMzYTMzAP+e+YXLzAcLeVICsuxgcvPlgJnDR2Sby/ARvroVeV6\nsd4oB8I3rPPirlZxUgko1RC/p/3HMzLJeBH4Okwe39Nq3WcP0gzfzs1w7Eb4\ncPrc\r\n=Ej6V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB99igtRtlj1l7eAAExK46OhnIduLSPDLjxER9hiuGQwAiEAnn1yIOnn9elKGoRazPCH2Njy264ZsdMSNGa2EsCDqG0="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.3.0_1554512391647_0.2493083428401104"},"_hasShrinkwrap":false},"1.4.0":{"name":"native-testing-library","version":"1.4.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"ee3d2cf850d6f42b33c4ff683532cdced4e7a103","_id":"native-testing-library@1.4.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-MlOPHYF/HcghpEI+4yDNIgB2lMcxjV5uTI3EL6L9JodFEm2aSrmLJnMyTwXcbWVVGNApp1HdKNdP9sL5PZLHAg==","shasum":"ca14ecf99199cf3370dbdc67ee8dd42b178b3871","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.4.0.tgz","fileCount":19,"unpackedSize":45961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqArYCRA9TVsSAnZWagAArZQP/REOCdFa/ytaabBQylD3\nZ1Ytf8aR2PZPaBl7+Ds4I7fAGwz5KXSzvgAh5m930licDrZw6DnU2WT1wFeN\nfQxyyDJlV+X/RoVtvvbbaQXCOlQFjsuv4wyWvX2L8N9RNgG2auOsm638M9sf\ngweYYGSsgAnNg0wzbKypjmLIZ4KIc1E7H7l6VbGaC0GO3w0wLtSBmWPx7eTa\nc9EUV/ZYL93/OxQYPxXT7tBF3xZR+xkBVHEV2/C0I1HSeGuaGbeU2rkDiGaF\nSkmVaJATfIuGa3uNVSOfd8XxuWf6wbw7HDNmBpQq4ROvhKX/3u3mDIC8VjeT\nKz0MS1Mu7Cv+TjhYcffbpjGGBUqMqo59+r9Yyo7Et737Bvxp8tByH4lIevCg\nQi9c74CW7nwlSdYs5lCYAFFyQkNe5bD4PfaCIl6x6cpldfPr8X61L0c59cB0\npWnaadFpqLdjbzWIDGfsTYvRYgYPo9qPUavExGKCFNGjl6Kmc9XTq5LMD/SU\nvaST/D6S2KQDdeGu4bgZP3L4u5Es1dam7BtYv/x+4JEfkIul3hGyK+niWqNA\nQV4lFSJ3y6E5mwE7HlzwaaVZdTk6wsZ2Y67ub1KmFmXY6pG9WcXSQ2+4Inui\n2s6a20d2PjH7SnplCcdssW62f3YpaPSyTVP/qDhB0AMAMHdWrOkJq1DITkpb\nt8CJ\r\n=fyQl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfOJwtfEREEIzAe382D2voj4fIt7rlsh0Hh8B8RitW0QIhAMovwI6tDYt78Y5R6+yiVTd5F+867Pjl8WLYLeOLgY6x"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.4.0_1554516695300_0.41055516656166735"},"_hasShrinkwrap":false},"1.5.0":{"name":"native-testing-library","version":"1.5.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"5ea9f668e87cfea33a02a787e439661682f18510","_id":"native-testing-library@1.5.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-vCuFE7NFlq1UX5tOSWXW3NZ0U57rbZHRDZaaUPT8Jrzck2fHIrA0LGb+HMVjQoQF2IaD1oMfwyBAXf1hX+NVaw==","shasum":"fb060ccb5e78d5c2c45cc4070d66a8ba4c575dcb","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.5.0.tgz","fileCount":19,"unpackedSize":49708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqCPqCRA9TVsSAnZWagAAXCQQAIcZw8q+aZsZ52xygd/v\nQVFFfXsLnRnlGpzm2pLwIh4R5Wl0VI/PSP/lHfWba+PYZv+8JIqe6d7PQVxd\nqrZ5NJaxA15gp/A6dTtHIBmeDhcuNDGwtVNGSkIKAhUj8QkeDJRtdqGrzDEs\n6/JRPsryfwUR0KWvR3DQMQXo9y3JLm2ZLCCn0KQvjVbvlDGUeNRr1Winq8oo\nUPs9pEArnAiIX6yZJC0ozIlIbsby45ScHjh5PN9goXlvjJbiqk4sTkFxNslb\nFKdZf691dGaa+pp/I0c1ESILE1yhtrot2ayDMEcVp/7W9QvhE3CCeYppHgQZ\npeetDsrHooGnE5zzpo+a0bUvkt2J4WzYOidCYfeWfHBkzoHoaBwtNre861KX\n5sOebad81D8LUKTQx0QLEa8pCVHbwoB6PQtb2UQurAoeCqWYYP5zQxmP7thr\nq9GMfAtz46Sr/toaohiOO7B/MmlXbftGUezmshUuuNxCgI2eYYu+ZLXQVwy8\nCxQ9P25aLV30/QZ9JoPTygJItE1RzHtF2heCAVfeLgjD3ihUIJ9CLQ1RWBwP\nFvI9LjA9jOQHFh6FxUXN5b2AWys71kYNCs99lR6eGjpsxkq+EQTpB9zEjzzF\n6LaN5ER/kr5IU9PwEmH34JjX7h4r0C8HOyKaIV3QXPNsA/afi0DGbmgpRZ/I\nRiNy\r\n=c2qF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEo8wSLECoLMhO05oGTTfqqcfA0FzeKOOdcci6T/yX3zAiBl+FTf7mVnttKvNwj2jKhN/49DE9QOEtHQ0HZWQUGSWw=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.5.0_1554523114174_0.3628116897310578"},"_hasShrinkwrap":false},"1.5.1":{"name":"native-testing-library","version":"1.5.1","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","jest-native":"^1.2.0","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"0a9df866eb3a77053036d3e82d7a4b83c60ae4d1","_id":"native-testing-library@1.5.1","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-NCbhe9GLONcFAcp6xHs10XZaJIpJKxljkFJKb5I9m+Y5I34wp5Be86epZnFn6QNkZM+Fr5t2Z04EQNKzQ1lIyg==","shasum":"1945819036d208debb6f6394f7dab541dd041aed","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.5.1.tgz","fileCount":19,"unpackedSize":50346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr4YUCRA9TVsSAnZWagAAI8QP/1iKPIGcQ7fUs0HySGls\nHYLmwRPncNNN/WiZDci/KkXZzA4ZMP5Ds/WHRXM3BfayIPuhatxZnk5bnpUg\n52aWS1OQySHLbd/5JXMajZ67U8Ck4YcWT2mEybYOJbK38df0YbT83tUbYRT4\nocFuactD+9huIh7zwqlByFnIumkfftx2Fy9dt8i1hLV6ZkaQ/ivO8SCRpPdV\n1ddz0r1FN48AhtIYpXdCeyPah1JOJ6S/xr5QQWFXKBaQMTXJ43waQbbDArP5\nWsXtj+I1VTKTXO+wDGgPzBgpDq4KxvESlUjtMB0h+rjUl7+8ymJ8vBwypUpK\n8I/YwJezmEhEdgFmiObD9AwaQU9ZhyuI964tueUQdug5hCgJGYtIDXL+A0HF\nTr6E0Kw67uElSlCC3f80tI6dZAhkDV8JIdeH3hSI+fdiZcaz4rW4dj1f2Kup\nW7BCPPExwZ9RFhSjOhWBaKDYCMkKm1xuzzJo3JlIZQUOvOgA1ihAYypQIgfb\njN3Z44yCZJUTtOdWHYLgpEpIdmRjpj/oSWBuBmMR0yQLPN+VpBsFKHGAd5Vh\nNVw/JsN8IMzfIsHbkhJsY16Fv9h/AjGQxMBmwL8FK7mHGEF3EQlA6ntS1z2t\n1Ucxe1LfX761Au1AYzykLT3Eyn8vQXchUBcjOAHdVhdLWtOymBkqGGzuFrg+\nWPzp\r\n=yvxk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDmjdC66nH2fqRpMw6sAL9zBSnH9zDuNW5fKjyobojYQIhALfekEx6IenKbHuwfjHRp4yHlygCCzDX7k2wvl/2TtaL"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.5.1_1555006996026_0.053176359285025177"},"_hasShrinkwrap":false},"1.6.0":{"name":"native-testing-library","version":"1.6.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","jest-native":"^1.2.0","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"947dd0b40df4a0e195bc7f704761e3b8cca4b625","_id":"native-testing-library@1.6.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-josWl4d1Zir8HZ2fB0zdbYFpnU3dEzpUEkkLs1+3/KIdWVlaFjdX7UsDQO6QLPZun+iOHACMbWqb6jmCvwwFaQ==","shasum":"4656aebc34bf25eb2eac49f2151eb3ddcea53bd0","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.6.0.tgz","fileCount":19,"unpackedSize":50260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr+k6CRA9TVsSAnZWagAAEx4P/2PUq7SO5gTp0ArJkYJJ\nxMwVTAyog9IDrfWRETRrKn8fba4qpfrktbP+StZ5uSm0h8XOZNqHMSxAxTER\nGOQO689u2XuIR7dNVCHrsNfhfN0JdPmyPnyHQkmL2njb2zJApFBZQcgUzMKY\nJMd97GJ+eCq8EbGVIyt8lG8tSgiW5IIo2R8H1q4RyR1IJ0JLC70jSYA+neFf\nLqgcAgFqeaWU0cYhupJk1W4h5mbLkUukZpNCxq623Fxww0USV6/Zqi33MQuv\nk3OeEtAqgntyMXLDQg6JAsQ1j7RwakkX8SoJWei6u3MF/QZS/CnU93/E/2E7\n7MMYxKr9oP8DLod3a3V5hWtoWda8SPoorhO07JjgWqoBEv3agU2yi6DA6mCL\n4LY3i2ZRCqZ+0TPvcjtCl07vfM3E1crA0K2fz1ZE9UAFz7fAH6EFAcPIpVDo\ng9xHah6Uk1+NzO8ytwRa+coOKgbuuKafQtlZS9XsLUki2iRWY46/wSCcJCCh\nngVrHUwPFaei1V4Q0qOf8HtmHO4QJh7E1Oty0GD6KSwMVflzLmSEObeJXEM7\nRMmxQevlVFJ1jZ11gPxL4ux0r1W3cxpRPMO19UYqH7jMlTYlYT04ibKzWPzI\nEp32uOFm0XUpJM33hPTYus9wojr04Tji4Tf63DQgTHc/1+sVo20Fg5L1ZrhW\ncy94\r\n=2a3l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFShfhvOBTR47NO31uwI3ftc2gg6c/weTuomKQy2bVNMAiEAlXl6UQ1LHzcswGtdJEMJX7Kc/z66bNRyjkZGVEWc4yc="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.6.0_1555032377357_0.375298418155251"},"_hasShrinkwrap":false},"1.7.0":{"name":"native-testing-library","version":"1.7.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*' && cp src/index.d.ts dist/index.d.ts","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","jest-native":"^1.2.0","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/bcarroll22/native-testing-library.git"},"bugs":{"url":"https://github.com/bcarroll22/native-testing-library/issues"},"homepage":"https://github.com/bcarroll22/native-testing-library#readme","gitHead":"7d5057af93a5d535d628f59d3a652ac4f3f684c4","_id":"native-testing-library@1.7.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-ZYKMorZRpYVfmLnKyyDYevCPSHrpfXOQyPs4ehmM8/7ThfCgIZnzv+9G9TOnAUkDqET0vTvHKAbJUpGhqkCrAg==","shasum":"9b70b792a6b9503b46ab3d89ce0b19857ad10848","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-1.7.0.tgz","fileCount":20,"unpackedSize":67552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctRQFCRA9TVsSAnZWagAA5fIP/2RIkvfnsOxl4ihk3rHq\nqI5883JRRyEgglxPUoGOi3iFHK69LO6K/SvNgb9lupcKnzCr1zObs8cdkg9K\nuTuv1AQLCOd4BCiyJiYaBGVbpckRvchj1GzZfXlnz4E9aHl/0YfOmqJ8jnwd\nX3nBGB2+L4aDCDwzcnEQLduh1b9gh47BwN9+7m0zEuuMUJteFMHC205ObkpJ\ny/VHd6vqAe73HhfjaGBkVV7oWvaafYmUVBnjzNzZMiFcPAkABcyvlQLbILbU\nc6q9US0qCfbQJU4NmED30JKZN7WtrsBuvP86nvTnNUYt2uNa+vYJdDNSfpUL\nOnYdnc9lKpGUlxnNcXnhNPtwvQY0xO32ggRRGfTrmkIo2z/JhhP8FX5eSZMP\nfrWSs/ttqOWZPZQa6RL62id+3UJsj+l5niT5QWWB8waCVW5/kIRNX6u/MzyD\npTPzZwdtbwNXnEZw7pOFoMJb/ZP/bTG3JiEOpVd4ibxjKgulOcEJS5Ut9FgM\n8u9ginWh+RqUrNXZuPytGHir1wi3cTyoOfcyoceLG4zXgzPqghXlOpsmtnQV\nPr+OFY33reTvZVfRi6/VMHfBTU9OxwImvQgIKT/VTGP4/hV2w30b4ofy2XpW\n3OsXgSCPM8+rsXWuvTEGr59Q0yz1mX8PO+icWC5qc3WrYtjyjib2QnhPtvCm\nZFMD\r\n=WgwZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbv85ZFmh7D/zrIMYjMpOdV45wmqv+S8/iHuTPtLgmpAiANkNMV2U7Q6E17Gif+YRssrBznPGtv7Z+6eMMxJadyTQ=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_1.7.0_1555371012818_0.9705113470647713"},"_hasShrinkwrap":false},"2.0.0":{"name":"native-testing-library","version":"2.0.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*' && cp src/index.d.ts dist/index.d.ts","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","jest-native":"^1.2.0","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"49f2b0d043283cca360d7e6d9a9a17c6e9d59ba7","_id":"native-testing-library@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-F7pGL1yT9bGRKD4fTIbKdZPRy8QKSWkqAm6lHwFGF4CPlac1+A9hF/z4W1GK46/O/wIlEKUFj06gAkg6lDewsg==","shasum":"8affadcc332d87d02b314e441f20941947c9d5ce","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-2.0.0.tgz","fileCount":30,"unpackedSize":78406,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwhuOCRA9TVsSAnZWagAAP/UP/2f3vY7D+I31tPqGk9Ju\nSnKSWunp8+yQZS/Itvwk+WE3cPq5ZKJ8rwOLfsdtFhZGTIokvckZfp93jlWF\n5sYJezub0QWIxI/l4vxOpAywcbK92oUBdY3GCH2eVgH0RwSdPFrn/eflgG9C\ndAs2bHICkZrOqS8WC6Idi6+z+PqMDjmbHedaI9aA2Bf62Bry5I3avF7SodLL\naJklAk7EXR6qyem5qWkY5mQt59pqeiUtI4SzUSzU5MMB3todwqqwCyFZqRtS\nXW2MWAbQvtSceOHSB2hiwH8PeD9C7XrcuAifsVtdWTJ0vcvX8vX1/kAl6zvt\nE+V8F4lDebHJFJxxH2PBirunsi40JZcPTvfQZS0ujZZxWgZE9+VANmZu4Fw1\nqW00G9nDoys1kZDtxYNZXHOkosmd9iO38SBvOe5fKyXVKJ/xWzTaKWpHQlqI\nqO0ph/vFqg67/V1nO9/XOWKZX4s5H0w4ENuAuz3iSytn+bXAziFrsLlnk1of\nFw7/atW9b11P9tyIb+wI2BWmXWYRgxMyxfIH/SSssZDHGxL4ndhMfiJp8dPz\nIW5v+o9/zgE3O56tt96HxMyPpaSce6m2aBxJ3yPGJg8OcGNVrEt6qTwN6uiq\ngYutShSyUXSikr2HSnXmsfRfyjHiuIR734aFqf+ApnXaT2O9T6mN8e1k2kPI\nIc2i\r\n=62DL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBuxbrSG4wRInTN/KJgfNUH3tI5fe6RNvlT4OwIV2uymAiEAro3MA7zze1Bw6moc0dy8GXp4lDZDf4nhBaKzw4QFYtQ="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_2.0.0_1556224909128_0.8540628804734836"},"_hasShrinkwrap":false},"3.0.0-beta.1":{"name":"native-testing-library","version":"3.0.0-beta.1","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"9fe5de7f23bcbfc867344df0764b2956717a88a4","_id":"native-testing-library@3.0.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-Re5tRj9wjKYFKdZLVIStM+iz9ddstVvNhPN9cv7EPN/dON1hAkmsg3NIUI61zpgcBzOPn5FjEUjX264zvIN6Sw==","shasum":"1d27e5edb1cb2646d4e2ed556ab7868fd55419ba","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.1.tgz","fileCount":40,"unpackedSize":68422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxJ9tCRA9TVsSAnZWagAAS/8QAJFSyludLTdzjfAoLolF\nxbCC50e4zKAodIWzTxAf9tVm7eJ678/EaQuAGm86m9S1xmC2GTB+bSA1Ruj5\nqxmnenlW5RCGw4zM997zYriXUw4SGPe2eEFyVdchz8AtsZmN6PDJdjdwruCG\nt/u3NnluZWjN/+N3pQ7gkcEra237X3UQkaN9Hto1ia6AQNQFNQcOksiEKzRj\nPALl28PMqu7orqilDKvROejxKMY0Z52qr/dpT1DHPl5Q7FC/dgMbs83QC8/o\nR06X2zS0UNBDWkcXE3n3/ZcdonsWqPZvri9ibKX9nsw9sp1zMV2beQqtpD6D\nfeKjsN/DqeZLySJbSIeskX+nBTslyApzt9lX384vmcqpJT45jYJzwTvOhP8M\nKb/yjLNnzJulwsNZsp346Ffgv8X1aQSFFm8JeBI5p7R67vIV1fAygHQXhkPj\n7ZTZWYKGLn3xffyajf9uGBu3M3vRhJwL4lAt6jCDE1aE9RNJFvzMveM/FejC\nvpVxe/hoUjHccI4egpTeCFxZEFIZQJduFm/5RHsezZ2WeG5Je/+2DMk0Ol5w\nwXoCZwdV0Nqg2dAeT7+xZoX3CdO+jweUT7MQ+g07TBlY1HVTas1m3aCTfEd3\nrODhs9jFts91JSzAGxoNPcdVybSO6htDsAriDLZYneltkDVT/Hbi8lFxscBH\nHIxz\r\n=cqBy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoCKk9MJ5iTwZuRdxubTMZT8rqGwSCg/E2irBjV+yuwwIgLEcRCYrgpcOYmJbqg4pnbFaUbT7QIMY+UIy/pfaHk1E="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.1_1556389741343_0.6550889625363068"},"_hasShrinkwrap":false},"3.0.0-beta.2":{"name":"native-testing-library","version":"3.0.0-beta.2","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"4e97f9444f6556164971f1cea78333bd286eef9d","_id":"native-testing-library@3.0.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-Um/K8QhoGbDQszCotlg58n5EQk6XzdYWRei1uOIDJ92IjhNu4N5bUKBDkIJYCpPfEuMknNj8kQqfTKyCy808IQ==","shasum":"40a0ff031695af3fd6753a89e717b2be14fdeaa9","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.2.tgz","fileCount":39,"unpackedSize":67329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxQuvCRA9TVsSAnZWagAAz/oP/jSNArEWhLV72SPgOX1N\nMRIfL9kH+QhLdodiLF1WIO6NHGD8bmYOu6akWmR9/urIO4KuPjuYhDFGwHlx\nx2a62RiU6ro/Kn+L0fWljzglNcQigfLfcYuGtV39Sm1HfdNQgg9n2PXAXJlc\nZ3FVIn+Y4b9UaxTgFj3ZZ1C1a5jkzfEsuU1n74HZAA29RhkB35PW1iyZAj5H\nVTpny/82YAS28jWOJHwIjGBaSnHVjP4bnsoN05rNMxhTwN5XnTIWwGyHZSku\nHFcJg3RWNnfZjnA2Mv9BmlbN4Lmt86EcUbztGDP3bHOV/M+A1JilKN3TO0n+\n46E02JEpdsn5dL4gIWtfTzXYBhsR/TbpYH6aLPNBikkgG8f2A3uIV8fUxzeu\nXE5Z6M3WhyNlitIHq6C6RxUXs1EwAhLdYKT4TjiyhiehiGp6Epr6mQ8AUlXI\n7FtDeHzo9Ge3z/fUnye3IxRYoiENkmeYy/WeJnxgYFvCi7Uls8fzYeJ7FGOe\nzA7AhFYWXfTd/glxB/2Entjry/xh0Kp8H9YbyhNzAURjN++TUekUqBLPPCpP\n62A7MikEerQ8KX7gljdhjZ+k9Yiia/TlTUlESJbANBgJ+6Gqzxjf44VmMMn6\nx8QRROuf/7oLI3bFn9lfJ230kZJsEj09k542DWeIK1Lg6RoAcwKC4X5CcPVs\nTLbn\r\n=craT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5lhmjnimjbZjbuuKcjm1G78ek7j5YVvTyenkQjQ5aHAIhAKcDLOAtL+fWnQH/HEv94yMLcQc0AEtu1odEZuNhSTuP"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.2_1556417454368_0.0853142379696532"},"_hasShrinkwrap":false},"3.0.0-beta.3":{"name":"native-testing-library","version":"3.0.0-beta.3","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"bcdd4a21c03d95bfc3a20b1bfbb12e62fd10be69","_id":"native-testing-library@3.0.0-beta.3","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-uaDfzyJ22HkE6eHJ9OhGAqeOZg1kUG1xACBcYL9h02YX0J3TueOXpBcYxtwlj4u+08nclWmlAswSRZbeOgwN+Q==","shasum":"73c78eb961f4e5e62bada85ac2fc16c39269849a","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.3.tgz","fileCount":50,"unpackedSize":78173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxhr4CRA9TVsSAnZWagAAOFwP/jSuYckSjGsmziyg7Sqa\nAI1FxClPLtsVzVPJe+fhqgfJeuyGhK27+V6J8tgm8Zk0QXB0BfRz48M3Q1SR\n2DxYGsSAxeuW9YhenFSRenp1L1WDwsC2+O1UmEH7lXKY0q66hvjZhszW1Yu0\nKKLvmjEmd2LFAFVBz1md7TUTcAm1qMF4nLErUd2oKvOUueqi/Ayns3gffRF8\niB/Zp0bb271mIJ2wuStWtvlaPTnSD3vJKgiKqvPNSCyYP8tGwJUORoEEfYh5\nVwLkDs2xDkSzhpdmNEacq87zOjHSbUUF5+ok5K7t7rgCAmQMlnXvl35puL/3\n2+xJr6VZWnSFyZxmF3WYcd4P27gkOAyMfql8OeXay4zcTozwbppHyYcqfSfR\n3L80ZeZlHtvH/Tal+lvWUboQWJbjfZnbUSFABQdSw4ieUTppkYxbhV/aVj1w\n7o+gYVyBAhETV2lOfCJa+O1KARZfmb2RcOSNOD3KDhW4H870wmhRJxqLFxw+\n8TvdnOFAOtKqwi0bFRtWdhQUXhCWGOCwKw8/3jSodQecitovN9bcnvvvMM15\nmGoVCzxu9kAg3G2W/f3RLLax5CkBKQp5VNX3V8Qj8B8102has1Hxj83a2avK\nDg9NsAUdCaNQcHTDGoNo2qJaxofVC9XsQlnYq4N+9bl64u9/zDsbpBYkCkRe\nWWkj\r\n=Wm0t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHdZg979907AqTBlthxp80kkOdG4XmyWFynRg7qingwAIgOH5mbBwYhgE7CFTxCnP1WrCA8y+Hka8ybpNBwdgZcKE="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.3_1556486903839_0.8415123130462507"},"_hasShrinkwrap":false},"3.0.0-beta.5":{"name":"native-testing-library","version":"3.0.0-beta.5","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"84804ad24c18f7ecc4cbc0f7f162db9392383977","_id":"native-testing-library@3.0.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-tvHqj+Ta9iEu81DqHqkGX7W4scoWFpc0bSFr/NiIedb0dYgzTKp/oOxf8zMTfq2WWY+qJM01g1kN3TypgzznvA==","shasum":"91677023a2e58c58f205fad7a131646cd3f3f036","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.5.tgz","fileCount":48,"unpackedSize":86777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx67QCRA9TVsSAnZWagAA+bIP/0Hn6kbCUgKWPucfkoqm\nb+H5lzETKEv9tCb4Wp79Qavt9riyV5w4H+52vyYUJCXwVBIiY1a9+74kKsB6\nXUi9TbY5rpgpPqrzdUQl28zGQVkBl0/ZkC3rzYVpox2XXFRFxl6ySDVJTwvC\nqbmAOApBpwvFrW8fs5H0q07clTWWl9Fl0G+8dCyCNuuuivHsISO+AS0S6q3f\n2QhSdvsU5ZKrP8nDTIh05DM1NSVCslzPiWi9PiTxkiMXZtlJqygavw8fXbZv\nBkMy+ModqCdsAwzNYq7k8jwp2qJicbLYH/dtn+6Yqhk3SLg45WdpF1iRoavG\n1/uKJ1aeswhSn1/9bWHnUZHTSfk0syu32q7rxWyQDxEDTRHpC3ziZgCSzd/X\ncydQjo4SqPjjtRXiHtGmwfvT1qDfHqLSao4dsoW8h5jcrOWg+Q+QNwRC8R8a\nzE9CG16wBuG2Kxn24KSFOdNaSs0URoi8RZpIAeSMrHTD6NJ0p7Lqzv/K/ccU\ndqy4urdqvguc0W3iBvw2GHVwhzZvZWjZTP0k9b2lI8j2DTSwuBP/BcsrycDH\nbkXEfY2ef5UKUUoqD3cK0zWgp97p9UGpseY2q0nSdGdkDGdoC8ZIAfEgnC8L\naR7TRo9n5MADJ6rCZRcMK3k4qtMYURave/mOlMXhqxICoNNteOkHFjJFSXXC\nayrK\r\n=EZxm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9REHxdJaw5OqVf+tauxH70JoLeLue1FzuD01oMwfCTwIhAJ33DYV6KE3vQjzy8l+tvIaev3r98R6bnacKuxbrTLXk"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.5_1556590287322_0.6026765225961463"},"_hasShrinkwrap":false},"3.0.0-beta.6":{"name":"native-testing-library","version":"3.0.0-beta.6","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"f5ae050a4450dc72e5de4ee8bef4447f78422fc6","_id":"native-testing-library@3.0.0-beta.6","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-q0xlM9EM3Y3jagcaD7jWiatupLxFpiJrA9FpXIFPoUyLZb+3aEX18EcT13bx5+OfuIFq2vuECzLoa7o1XgYfAQ==","shasum":"5c0fe79bad58afa7767e574dcf5d39b388d0dc02","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.6.tgz","fileCount":47,"unpackedSize":86668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyf4MCRA9TVsSAnZWagAAAEMP/iG99QWUW3A/ID88j36C\n1vphV7t+omZtXbBz7+wuBRnVoTtrKcZNV+cImxVe7zM7Iwz8fVYsFW8uO09O\nSeqqHDgkTZNXCRyROrhGeFKM3ujJOb5OFPO1maEQegUPtmzkab87cmzX/LLv\ncW0oiKYqh1YV3nVSNSAFKYXd0NPJWB+BeUKt96c656gkfsF2WgW6Yko5sVZF\nGXvIipKMRMQmdLz9Xr8hs50oyUJt/R21MzjNpNE57ZVNbN9NNHgBhAqXsWwJ\nFF8KXRrFKTul+HnSnpyW42mtQF2eo+taicKqfsrxZrw6RnRRGak1YmElSEwS\noAlNdQwAUjYmx/eGemUD7AieGdHtmXq+LWp+CruUKnpdCbNF34T9UOdx+sPo\nbjNsXF6MuTperclzRN42EmMqOXz+fcPJnJvHxYviFmQDZwnN8e2ZkIAKJ7Ns\np3qRQV6GB96gqiM9M4LJbNPnh3RWC0fafnC0Z+sIraynhslPQu6oio5wysxv\nXnOOySIT6Ktr9bryWxAncDxRR/8OSW+hUnO4tkqjMCvOB7/Q8eonEwWax+NC\nEko2iM7vpbzOdBpEHp8betDp9xyFBQJbaOq78YQ9YA9fg5J460ZoEC9joNbD\ne+75H0enIQy/MFgf3+20xd4LUDiQjGn0e7oYJD39ixvzZQ4r+rgmup7vnG6Y\n0yg9\r\n=Y4VU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtxq6Y9kfRx/y0LIouon4jUUzrst2okcUMvXl1QjtyoQIhAJHTaawebI3I44InsS0dADMT6C5wpejB2qO8Jvj7uj7s"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.6_1556741643050_0.06480646706168769"},"_hasShrinkwrap":false},"2.0.1":{"name":"native-testing-library","version":"2.0.1","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*' && cp src/index.d.ts dist/index.d.ts","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","jest-native":"^1.2.0","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"89a9d924549a1c4880326543b7a8c5bead76af9c","_id":"native-testing-library@2.0.1","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-Cur1rGW9j1pAfymLr2jIqgquxTC6PbgXQ6sNP4j1hmnwXm+iSHpSkpeoD15xOh/37E1HNphuBv3MmVBO+G+Ekg==","shasum":"19233eb3e0ef3001b044aa41747590a456a41af4","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-2.0.1.tgz","fileCount":30,"unpackedSize":78742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczjXrCRA9TVsSAnZWagAASu0QAIEDqkrNDQzTSuvdplz/\nPPpdI8KXnf1RCzJnOy9Z8lMaRTnoTY9KRXnMGBHOmoP5HKqOFgxDEbpRbQnF\nflYIX+l41wXShPr6K4SvN26djKkTzM4lMlDWFALI9p5Bt7yINJ4FS7filpyo\nNZrJSKA/YBYyfyVhfXNn4lpe3sj8qHbNkLyEDu36QFN4CWaTC1BJmAl99DCB\nqxyYEHmCcrPu+BFeJt316wKEtqXyU3w/Woou1X7kIRcIysT+GivjPc3rXp7+\n0veYNFzEgSZq05iSDWjquafkPBr101aTVF1qgeo8OsT7eXCtVn9no0O/A83d\noCK8oA5yLvCAf4cqfOy4Qyh9/mgfRcG3GJzti+fdw2U0dYPI4BPF7ak8kJsf\nk3RiMFUtaR0oI/6jss3c7gBOTH3tl+fHsO4rq2eoW7gWt/5VjY+lK8Z2yzRV\nS11NTnCSiaeE4q1XJdDxQZCj42auGg2CPcAg577tuby0RGo5XiQI3pnaJE5V\ndaSqtNRek7rMRiY5emxiBX/BvnxaQTOynVhj+3hn9rjPjT5QXU5M4Ftshg8+\n6sAe/Syj5XyeupvQZZDY98q4e+58vLmTTZp5JHJE9AKVgdP9sLfUKudwUYg7\nq677NjQgJz2fhvIY+8KWuXRv/EQMBXIPBX1vaqbH3NG0PaWUvqdoMTGqGaJT\nLc+Z\r\n=YS8O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpfLprzVfRsQ5RizRr24Bd/mM0AV9xC4mgSY2H8wMJGAiEAsFK6GglZBQ1dOIWs6hAFqH4FIsWh3Tyfe5nURgQSS/E="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_2.0.1_1557018090736_0.16590133429333176"},"_hasShrinkwrap":false},"2.1.0":{"name":"native-testing-library","version":"2.1.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged --pattern '**/*.(js|jsx|ts|tsx)'","prepublish":"rm -rf dist; babel src --out-dir dist --ignore 'src/__tests__/*' && cp src/index.d.ts dist/index.d.ts","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","jest-native":"^1.2.0","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"^16.8.5","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.0","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"6.0.1","react-test-renderer-tree-to-json":"^1.0.1","redux":"^4.0.0","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"19e2debdcd1202e175b79b25f3a37c9c01c19a57","_id":"native-testing-library@2.1.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-veMij+y++ctFodIRD4sPfueS0mfy/KEFG9O8wgojVA593AEXtB343V5cf/CNzOphuuyviq15mRyN32Nd19p6/Q==","shasum":"b015b66b9794ba6484149471d2b417472fea6e22","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-2.1.0.tgz","fileCount":30,"unpackedSize":78782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczmNwCRA9TVsSAnZWagAAYV8P/335FelOjHxI+eeu20LZ\npXCUVIaOrbu0QHrDoR2b00fki1Fttu+WxRGyy9n4d4MQZv0wzvZ6vu3nU6ya\nPmbcUTxrQOfqrtUbhGkc2zcQeftWEy3WvFFqoUXWtqXAuo2z3VTHzYJrwfGc\nr7hzqUTO+ndhJBYJ2eio7VWEASWh2BQjHDYy5v3R5BIRiaFdrTBGbox86jIb\nHboA5DQRUuBrEO48WV9RL1KYW654ZvJ4aeA9i9bjYzg29vSBpJZqE9ibaNCc\nJiI+R45ZNuaww5q4lir+S9kcstGzNAJ6u6EHPeY9fURzXjyFxyYKw+wpOAJn\nCL3e1YxQrYaCguKYJ1h+mgW0JlU3tRTimfw6AniR4G9Z9HyG2rvRzoPmy96g\nFQpIjz4LY7TLXI0nd4z/p5KRXKtO7AZdwe3xW9A8uljcBuulXz5pMp3q3rRb\n3FBTZ09V3+Mbrkbr/DO1uKr2U4BFuPltTKRGlKZ27DAg6HvBNjh2LiCRAatA\nUDQdg1AlE7eYuS8AiXE3a+wfy+hPGSTXvCZV8GdPNqYs6vuM6bMbLE8YfhBb\n85kUn9WlU2iM/r8bFY90F+qVAZ2GDxXqFjMPzas74PnxfiVH2FCg+B4d3K5k\n6UdXOwpJpI9lfoXPTtwqcVp8Xsc43RZnkkyh/dz+tI9cuBA3kmk/hnW4hM/a\nBeVG\r\n=kuMK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOXtoUIz5QBJVquUs29HDV5u9ZUPRC+M2VDerptpUm+AIgHYlml+iEKLz82XwqmjcshkH3BsmgYDfG04wdJBHJau0="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_2.1.0_1557029743471_0.520324287425914"},"_hasShrinkwrap":false},"3.0.0-beta.7":{"name":"native-testing-library","version":"3.0.0-beta.7","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"5b3896bd17c3b3eb3f628b6e6e99faf688718e6e","_id":"native-testing-library@3.0.0-beta.7","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-e8tbWHT5ZJYb+ZI7koZN3ZDzvgYKg1juanwSINSU12o2nyMmmvSizVPHMemKssnlMOmLJ0f6NnZrHCD3PgqBcg==","shasum":"1d95c4e3051f009a246e92e6fc36f659a6a92fa1","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.7.tgz","fileCount":47,"unpackedSize":88543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0QT7CRA9TVsSAnZWagAAJqgP/RG0ijwkzoXnkhoLH4Sl\npAHxQHPPpg5VkFe6JeekRNZZ1g27lDPtu2Y48a8Euu3pf6+wfHTjKR8uSBGI\n65uxnTzXWE/IXxEeTX3X8Rkr0OtRVeqO0nRXmQzfAsw4dnj+uuaP6qznrFId\nIvFBRXdXs6mmQ857gL9LqAB/8MAdMQsh5pDGqh9hwK2Xgpko1/NwPvy6i1MJ\nv5lVNBm9civL8luQa+K++oFbqXaTM3/tbZ0j8AcI7jW+MipUHKjvzzrqnxTA\n5fWvPGKMH4/YL/14w4fkmCa2F9xm+uDQUM5u54oHaXKad7sBCxyqnFzuIXDi\n+VpxVHCtpcDh2oYwLKAER9X6XnjGTWfDw+nwyNA+oHguTcVcMf/SVguFJ4rg\n2j9h9xgM6UMwg3HDL6HVdf3Q+fRAnjFcHKTXY5Z0pwe0DBq++MDRMnGOKCd1\nzd0e3PpCmm6XcuS4e3kb3VA5ag75HlbzOv/On0zujuonyLv8Ih8IhdDTbl9S\nHGeSyiopjK7tzkLIZ0yd+WGqoP/JXJ9/javiU2QmWtsYfPjTxpMeie5h7y8o\n6jkmL2tB3jVTZ/DTHIrhP1rMpOTyyPziIiKnix8a9E4+iixN4b49qedCo9gL\nLeXHOH43mwm7NlUJjOsyzsE19xfI2f6dSSMPp5R7mNgtCnt7FR35NHdlfZfK\nvQXl\r\n=RjNm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv0IdFAs4zV22oADF6L2WFmbR2i5tP6kye7lSiXTdltAIhANr6Y59wvzHDfR1rN9nn90Ej0eLjP9SaOt2XHiKlOt63"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.7_1557202171221_0.45573581153154996"},"_hasShrinkwrap":false},"3.0.0-beta.8":{"name":"native-testing-library","version":"3.0.0-beta.8","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"64b31ba5863181156856b85acfcf65de6b37fb84","_id":"native-testing-library@3.0.0-beta.8","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-WyQu2f4vrFKwlXfQsmdUNKv86FiybRHEfaEPl90pxwR/DOzWSuNjobS5hHYgdV5OHiuEWDc2yadNZVHJgX1vXQ==","shasum":"74ef3b631629ead45f2e152857f3ee50d3bb2841","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.8.tgz","fileCount":47,"unpackedSize":88468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0ZqeCRA9TVsSAnZWagAA3mkP/RuhZX2Ql0X+ufNFyS8P\niGOSEDpJmvgBST+HLFL84oUyh5LCfVeuZi6oXxKZaiyByELluqfOf1BrvVqA\nsG8Z/OKwLQytU3MY50+njktqZdbLGg5F4AKaTBbdqPBHZ8jZVheUq4DDy4AW\nFjgfE2bWezN0fX/Hkh6yObQOlidpT2ZSDCcduDa65jifCGQmDp3VCdlsfy5Z\neXSetfOt42sTOrNQtQNVzuOnCyjdMOnnFyYFjt8KMViRR2D/VrNxrZgsQP/G\n11a+b0q1WgDdWHzeEXLWqO83lUZrOQRUIK3DM3J1PfcH1LZERs3DVCpVzAGn\nxJXJd5RQLEKfZzwQNcp2qFJEB2ujNlkfNXR+lc0958fO5O5/CFDl+osfmTms\ng7OdEBXI54KngffjVn8xj04LggsDy2BF6l9k5FhPzXZ1hwfBlKL9EkFG/nbU\nRCByRj7OdVj0M2UPRpRJy1MLH6mv3Bnlu/hSPDa6jHJ4qhwIMu8ql7XOcWp7\nMDKVGCuDlOLq/y/4rvpL//xtdjMIeNwwX/+zWRd/R393W/+JkZpxjykClep6\n0ItJ18xjDUruF7PQst0u415d7qLVGAv2ss1UYN8pyOSTXAJ+aXQxC1f8R2En\nz7mj81ygd1sSYUxZx0Lcw2KweSGTIQISvseHadKqQeckuyp0+D8qtKmDa4EX\ni204\r\n=qT7R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDnhDiYYGxjf1m7mVXGmRqVnOPSMr0GeuHbtNwdp+jaAIgdyLm1sypQdSqBDOPzoeAY/2kkDEBQubfyeGaMhoFWdk="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.8_1557240477332_0.05533924827550285"},"_hasShrinkwrap":false},"3.0.0-beta.9":{"name":"native-testing-library","version":"3.0.0-beta.9","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"a0ebddb434349944fadd06243d34769519fc612c","_id":"native-testing-library@3.0.0-beta.9","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-l3DiuQFYEe/cGDq2EX47F1/4fadrftZ4awU39sYScHbJRat8nH0/YjUYfjnBSC6LcPmtK44w5Gwk4+TzMVw29w==","shasum":"8202fffbb227e5928249ad8711b00d0f93019a31","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.9.tgz","fileCount":47,"unpackedSize":88524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0aM5CRA9TVsSAnZWagAAIZUQAI+gi5Bpi05QXrHjHo30\noU0FqgFHamG1GkFUME07OeGCXMlRt6tIFqANe8k+JZLiJ8Id7+cJy9sD7/t3\n5UTQfihwHdD4rLG98nolxl1EnUW6+Yoid92U2nJXtV3fefT2VeRRN3yEmX3j\nfupbQshxaiNbZDCiWlq/g9ojJix6ZFT8t0rRvopW+RHWuKrdnzosPnJSQrUW\nv1oMhk669G02lafbtdkb4Ugb/h50+M3jKczZhvA99DB9ddxREjIyHyZYY9dy\npTpS6DdvRhV0vd5jzVeMG77wUzBw3/ULVe5M8lAb73ZYi/G+irnW+oBgpNCr\nFa4NEZBX+Qx8EmhmlOQ1lKldVI/vizNUS4M7yjLkFctv2fmEN7PZznjWpV+k\nckxvkqexAX042nWkrYAnxQlofy/nEzVgugpirPc9tpkSTboqAORe3FWR8y25\nwWCG/u6wrqeP98qOLyACM55wtAUWWIqu8TUEMgKq9Spns0oEX+WcVFRhZCkK\nXVaoyh8l5OZ5QjuhgTkjaUs0vcBycDuhrQzP7EWhkyruUcKFKpB1turY6iug\n73SvH8Sopd3SEdrGrdJN21jk8XiT4rXi1CqlpZ9ZOHpxb8B1GvUXD8dGKMqV\nO0nOaNrz9MfvN/qRrgNgqS8XxCrwDH4KnPFAZoncsd8geBNock5XPzJ/tmHP\nsmIv\r\n=x/U2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYALpwrhlBJWCHEFnpkdi2JPVA6z+oyNlD8OX+dCVJpAiAqG1dLeTtWIMnmkKbQdpYAzO0nvyLOSzBti1HDHIKSxw=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.9_1557242681388_0.008612145734265608"},"_hasShrinkwrap":false},"3.0.0-beta.10":{"name":"native-testing-library","version":"3.0.0-beta.10","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"28cc5b2597c43053a05c637de1d18592b4d23982","_id":"native-testing-library@3.0.0-beta.10","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-uXZn/74tTbI+z1QKzD4O7eCmlTtdmk2letlkbcaqlWSXu7+nPxxLgTWEuVlO39utyRnJHgXxC2PNJ/aBwVlJvA==","shasum":"ce37982f4e6d127ea14e57d8f5c865839dcc81c3","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-beta.10.tgz","fileCount":47,"unpackedSize":89207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0ayICRA9TVsSAnZWagAAMMEP/1diHopo6QsUUZ61IEms\nQUHwCQGReAGyAJp23u3sbEiajdLH3hnkFiaGakXNLdVAH2p7QkUT8heKyGrU\nCpeAya16k5/6IiEv/6O82GKm32Xw3swHj6ZN1uldHssBj8qJGp8jpMYkiDzp\nmK2biRiRWBBSHCMp6d1UvKESY2yW5ZDnZELNV3gukvUDkMOZSehM1qx+16Ie\nc7AEpUaPPlC5y971oga/eDG8cnv1jxMmi+f6fQzt+YVjcfs7IkfshQV+f9lg\n0Dq3btYycuwl4THxFcu+1VX6knZHKLXR1otPKjqtnJ+2wT0MkmmQL8ZaEZWC\nkZouFJq8lUnsEW+/fcqKCXq79iANiHhDnV5Yt93XOxRyFdGe6zL3G5XauiKr\nvIRXfP4+I7hOgDwL7KlmDiyLwF2ldHnC0hPQ2TJMHhn8J38/3gMa+hb2QTdw\n6wH18PjDfDKW3VT2Zr3F6Jli9mMbwb9KLR6ryJUsaWBFX2S9MrOjQO+vSLnG\nbgFWNVMxiLQGjRaW9bc/+mKKZAfw2FD22c54qm0o2KiBIYWUwNaP14Yxl638\nCX7Dv0/yojmUN+DyRcXImCcHMOzMr7R6Uf/frt/anUUY5JxZUvhLc2kZmfpv\n1qL+YYv4lrHGSnbRVZhwUKh9OD6hD+dirM8AIQy4WfYSWoYY/ed+u+RX92hD\naH7H\r\n=kI2Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2Vq1cAXXgxdnviAC+dcjT7LJX/cM0Fhy0OkeYyYv38AiA0Gm7jSPgdfYcNa6N6Hj9WMqT6yq6E4pSoztXasaeOFA=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-beta.10_1557245063413_0.7082555914332214"},"_hasShrinkwrap":false},"3.0.0-rc.0":{"name":"native-testing-library","version":"3.0.0-rc.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"9d742916d0dc193d7fe7eb16164a389f6472968f","_id":"native-testing-library@3.0.0-rc.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-D7u8jMm7vsoR0zA3HCchSu51AQUyEJIfRABOZMi+2zsGPd1OymN+7ZTJMGW1vHH1BNGd/vJHi47hS79Zxz+E4Q==","shasum":"ccc7e28a548cc3ee6027cedc76f028d6c84f3c7c","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-rc.0.tgz","fileCount":47,"unpackedSize":89172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0dCnCRA9TVsSAnZWagAAFg0P/0ZMOz1byUEIOiRXOezj\n+PFWSIyCGJox7F6SCQfQjmERwhMsZ8eghhqYvcInZQm0UiOBh/9ZurQZyUVH\nvc6R+IRvmMFBwNi34DHXZ8+Ms8I+mvRckC7zRKJs2NdO7JLVKd1AxG/JYejg\nhW2F/wuDXMMqfie/EU3rMlQDzEJ9wLUoObQrfUjrz3D8oCQTCPkgZhmLI+Cm\njthpH/2koqSNPc2LZNYtfnMrJlmF+t7sa6OLMWxZY14GlQZmNVROqN5kpW+K\nAeaaf5lIpmNuY3oC/VuAqOM7zGc5/+sGdSvVxZeyo/CPbhXkpy1MrDb4CGZj\ncztG36226rTWY0MrKNHe0ZeoNi6019uKf9ZQ7ckzJpYpKSvZDUlg5OqjC7fV\nQJJBN04/Vylfl7WMdGF5ZR43ms/tBwsXPKVsdNuJ0HTPVEVlVN9kvrqp0cjZ\nyzoSlKYu5+qNwm3eHvxNKKIiwLr7TzhZtWH+mUkR3Sw4siyoQyrB+qnvhFiL\nJNfY8JHqw9crwYAA/dkeAr/J/gughJqykneNpje9FNB5un5CGCUKdxoymuDO\n5TY0ebCbIC9yVY26JVrT4Prq9ytE7imC7GcUFcw+wwgIcPxz8iWI+9HkKjR2\nGnS3W+sWMCt0NY2FKuDbJiG9l6NaxyWF8DDJoOwlJR9BUAVSk01/XEaiMdAN\nZKaK\r\n=o5iq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClVRRekXN4BVHFdSz1A4dwAxLCXRxWG56IuQVGmZblvAiBf3LifUX2RcoOic6lakQnDimqTpPcYKRJbYpmPi3deTg=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-rc.0_1557254311080_0.10863612834140701"},"_hasShrinkwrap":false},"3.0.0-rc.1":{"name":"native-testing-library","version":"3.0.0-rc.1","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"ce4718edc45c04c957ea5d9c58467ad121cbcee0","_id":"native-testing-library@3.0.0-rc.1","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ChBd8CERHrRPj7PoCCSM4+y6X+eO5+0+d+VelrFi9gjp0tfdlzWW56A8oiAbSAzen15APT5zva31P9RafbVA1g==","shasum":"d8208ed5973a86bf7ea0721c7be712ed2f686729","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-rc.1.tgz","fileCount":48,"unpackedSize":90516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0jUaCRA9TVsSAnZWagAAv2IP/igGmJ6gUD4AKlC9r/m7\nc+HB3ZXsSdxZTkE9YHYjNabl8dSRpzyUwC6EHY8QyPc1nlkfri2d3XyTPsCu\ng2DVO/DW9hceUus32YD5wTrRQPKDdS0xYLy58tCmICSfW8RhuoiJsqk9u+bv\njJf5CObF8E9EZdaBGpKX4fKSMD7LemnWQIWZiDW4+pwLxGGjHPJle43+fFae\nlbMvjfOmUNXPLiqU2+DLEHozHD7w1iFmASppgWt5/5Ny7SH4ZuzqLXfpFKCx\nwj6M37a1gJKGjvEwMpPkfcJPgemYmQEd1R8E8b9PEQKJ0UGKfWY0ShFvWjw2\nObD1O6xFfpUU4FBVbLhO1jR9R4Cx0bMlm/jfLgUtWPr0ZzR77+jINuRjVJjy\nnoeoRtyP9mc/qn5k7FS5xa7ugKLLMDNM9QrixhxXVbFeqcJdyjPhvatMBfmO\nQQpd9+ie8u+0Sq3H9U2Ghg3ty5IW03EnOxUVF1rJhQa9/myG1vg3gj1L73Ls\nAe26Qvy/RgiZ2NV3ebNh9lN+2nxrK58148s2ZZasaQMb322dWUbxXpn0t2aS\nEWI7pFcc64tpETmjOvzbeWYqe5YGO3pEHgMMtCIWR4EghVwc7vhuRs7Q5S9b\nl+phBkKoGIpxJdakNntfksRb4haUqFyEz+9lv1ZuuJIiHydkTca4JmtGo4NN\nMaI+\r\n=OpO3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGxlTHqtQ0dI02Uz7X6/fa07OggOW5LpX4kINY65hs4DAiAZLsmTaoX0kY5QbEDW4sO5Hx71exPoJskIeuA1+pmTGg=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-rc.1_1557280025696_0.46674586875806745"},"_hasShrinkwrap":false},"3.0.0-rc.2":{"name":"native-testing-library","version":"3.0.0-rc.2","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"fd710f448e8423c1c97b14cc1ebd0ac34c52c56b","_id":"native-testing-library@3.0.0-rc.2","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-YA7ldyutcM88qCwlvmbGfWxCOhstin+BkrJGEkFu2zEeSk1dkZHukvObEwZ8KKtY405k/AX/r+LoJpDZX8Ch2A==","shasum":"3714ed3cbf213b4c4b135adec04d4ebec6483901","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-rc.2.tgz","fileCount":49,"unpackedSize":90983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1ynxCRA9TVsSAnZWagAAaYwP/3lu7JZUGDfJb5tpOrC8\n6EYGnb422a5GGfXOPdGpj533I48u8SjGBS0hEfMxZs35pQKb7vza1h34bwbB\n+YxYw8BNxFsyGPpKmE2WTwVKQIur5SMm7035st6HK8vR+69jelYsvXs1TxDs\n3m67x9ZYOUsyEg4hLQLVv1SMkBf0EXcWhptaFLcX7gQEqnScPTamu2s+QaIx\n9tkd3Gq9XjleWykGj0TG2Pn1HWhr9PnsgAqGEVLAA8MdZuhy4PZCj0Frhg9z\n4u+MLmrQepdbZdY74JpiICscV7L/AqXTROSx387a08YNcDFmzT/adeiJT5w/\naq+mUWXw614uqOjajDdSGZAbSdt7bRKhA9MU3xoz5g7rNUtl3Em2C0U6irdf\nWF7NYu47gbJZ2xfuOfK5cY9R8vX0rerofXdYjuDbhm12B7T+99g4CIw0ekgz\nWM7ejSfwDNMQOKPgGAet8FVIloYhAmm4Gso1WPVWGfOrSAdvwzidTwC5btU5\nHtNlSU6vjN9aJZ3KbyMUD3WjRUsdYk8SsKMK0sikCWrZIwO00L6PX+AdMBy2\nyHuaSeofJT7vq7URSFFRifkGAj1OZXGdyRH/sORf/Jp66tuwGydJ2Ir/oJ8+\nhpeSZ1YZDJwz2O9Tjk8HxKVTwevOdoyKoNY+QR5hLatQjxlTjpqcLW0KvkxY\nPBk0\r\n=mwXh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ0cIFd17P0n6tzQ60ykk3tqHDl0zf8T80afmYSv3A5gIgETIJc/WTLnhdXQZOEAYCQlbiDbWshxzUefafgm8eJXk="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-rc.2_1557604848493_0.42962019401954565"},"_hasShrinkwrap":false},"3.0.0-rc.3":{"name":"native-testing-library","version":"3.0.0-rc.3","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"c837fc54525ff32ef5af5a5043c0a2f436089fd4","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","_id":"native-testing-library@3.0.0-rc.3","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-il2MYZ2pOOuF4iFHEAYn2ALvmOVbrvUp/dj+tKbyG9r76btIAa4/vYg/AH8FpeV90oEIug+2aNvsQnQ9venyxg==","shasum":"f5c9ddd288bfb695c1c20cfc198c2da68c7c9763","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-rc.3.tgz","fileCount":49,"unpackedSize":90985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1yqGCRA9TVsSAnZWagAAoB0P/23V75+M8+vK/jr/gopI\na+pvhVZFwii3FroyvWB4lxk3u0iVFk8i7YKhUioUj/f47HRjGkCnC5F2dKGC\nlo+r9Z1YzJHGyhkM/hfW9J7MzFmcbKHwH2xOHrSVF+fcdiDwHEjwOitomBxC\n3x3ae0u5Nf9IvyErh+DFksg6BaMmyBpzIO4mifRr1uMBqJa2RX5jNd0SrHbl\nGxHPugwARWEBddIAWpjGraKw1u8kbn6WXHWY8/RNzkQVa+V7zEUiqiqIYN4k\nsBav7mRhJhJUjh4zXPD2oByyACHfegBE4VBvm5Pj+YnW8wwG4JpnRtxpZY9b\ngxgMJax2/JY6qiMgRmCKruVippRD3Ku9knT7TVmwWMMXefp+X5xQ+fpeUkPy\nT4A7MD4+Lh9nAtUTBFsqUOnaEaihw8lOYMjkl0PitxQR0ddid7k5RSacG5An\nF6f1a2DSeovdusMjRO2+lHvt/PGb7zveFaMwVnMTmCr6zGIpDXWZ6i3o0erb\nqT+0H33T9pqXGlZVG58a6YJkkW0FdOBG6Kaj3dIiKqlb4aithgVv+P6QiDg5\nzI15PRCAeQeSIlR3Yv5frR/M94r/7Rc/6depPdquqa0zAkotvDyEkSmUo00y\n/ybfYmGzLT3hknPeeqw4q7sNHZGalChBrp2mlxzD8G7VlSqE6+bFqh7HRyJL\nRRr2\r\n=AEVv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPKjrTd8jmVcoHykgQ+SzjOiX/UGOgmuYOiZx2PHdzvgIhANQwo7SnjHGgQMD3MUb2WsAqbY2qbhDtuSP8Z6q8Jic5"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-rc.3_1557604998018_0.13403167175688968"},"_hasShrinkwrap":false},"3.0.0-rc.4":{"name":"native-testing-library","version":"3.0.0-rc.4","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"cc7f4a6a8f296460127705320f0efb8208ff5662","_id":"native-testing-library@3.0.0-rc.4","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-XH3xgF/BcQA0NYa38XLmoSnzz8hMVfVFvrROEIbGPEuJ4TQg0wx27fAzUyjqXtGLA4dt55R2QQoLtSba4jiFaw==","shasum":"d2e68599d59b69093e3b0b68539ab9ac53a62683","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-rc.4.tgz","fileCount":49,"unpackedSize":90419,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc17TQCRA9TVsSAnZWagAAmhsP/j5iERAsWrIWabGx8Pst\n8bPeac+DNACws8zdosQvTaMWj15eQoY4jCrHoMjz/FdibWjm+NNmDIJVFGrx\ndRqF8sdrjm2w2oeUP4t5K8WBKr6nRCP1dXecfEcx43zHk1De18hhpuO2lYg8\nyuBhZkdhYrU6h41USPvVzCDtWuTN9SsryIp3kFLH1PZ1i4LkewFN/zn9XDtJ\nRHmeiQ3+2wxwmh/P4AxytanZ0BxBt57pD3HCm6Gwm8vRzkPqmTyvfa5BqNNL\n8g54aDw9X75TI8hf3NYpSnT9HNj4mA82l6USj4Sc3Uc7eu5N8WM4JgHw0SK+\nAD/rGQcgHzLVmma9ywBVmB6hUutZ98UYzE2Iyvdkn6fGcDE+DGazfBhQV2wi\nsl5zF3lDlSm8UafFB9nTo4zbX000sMKK5uFfQvJRwu4fm2cfSpg3ZTbK9mQG\n2CkASizbJl5+JRehPO7VPAENdpR9HGKqXLYA6YHXLBPThcUOK6RammDsN7OO\nFxjS6f6IgbKl7UnwWQBJ5vqBp27b9R0HdF4J950D/+uWLl4POljz7uFPJpr7\nTXYrNHUsYurB3he3ewRBZU7Q9IcG8yO1GQwVEsY6FzPhGWT6tcMtfPQfTAY2\nqmglozUK2KZ7CVqwNNdx/+weNDXlhiyo7t87HwC7M5/kBe9SUR8TVPv4b80x\nmEju\r\n=4cgM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKdZcwvDtMjsgQglrMOxZX7zMI1ozhOSFGGTi1qxdjVQIgKlBsWH5DOWIxsF5UlZXp6+zjenGxEY6ypA+lrZpgiE8="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-rc.4_1557640399828_0.8092596360671096"},"_hasShrinkwrap":false},"3.0.0-rc.5":{"name":"native-testing-library","version":"3.0.0-rc.5","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3","snapshot-diff":"0.5.1"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","readme":"<div align=\"center\">\n  <h1>(React) Native Testing Library</h1>\n  \n  <a href=\"https://www.joypixels.com/emoji/1f433\">\n    <img\n      height=\"80\"\n      width=\"80\"\n      alt=\"goat\"\n      src=\"https://raw.githubusercontent.com/testing-library/native-testing-library/master/other/whale.png\"\n    />\n  </a>\n    \n  <p>Simple and complete React Native testing utilities that encourage good testing practices.</p>\n  \n  [**Read The Docs**](https://native-testing-library.com/docs/intro) |\n  [Edit the docs](https://github.com/testing-library/native-testing-library-docs)\n</div>\n\n<hr />\n\n[![Build Status](https://travis-ci.org/testing-library/native-testing-library.svg?branch=master)](https://travis-ci.org/testing-library/native-testing-library)\n[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/native-testing-library.svg?style=flat-square)](https://codecov.io/github/testing-library/native-testing-library)\n[![version](https://img.shields.io/npm/v/native-testing-library.svg?style=flat-square)](https://www.npmjs.com/package/native-testing-library)\n[![downloads](https://img.shields.io/npm/dm/native-testing-library.svg?style=flat-square)](http://www.npmtrends.com/native-testing-library)\n[![MIT License](https://img.shields.io/npm/l/native-testing-library.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/LICENSE)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/native-testing-library/blob/master/CODE_OF_CONDUCT.md)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/native-testing-library.svg?style=social)](https://github.com/testing-library/native-testing-library/stargazers)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Example](#example)\n- [Guiding principles](#guiding-principles)\n- [Installation](#installation)\n- [Hooks](#hooks)\n- [Inspiration](#inspiration)\n- [Other Solutions](#other-solutions)\n- [Guiding Principles](#guiding-principles)\n- [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou want to write maintainable tests for your React Native application. You love Kent Dodds' testing\nlibrary, and you want to be able to write maintainable tests for your React Native application. You\ndon't want to use a library that renders components to a fake DOM, and you've had a hard time\nfinding what you need to write tests using that philosophy in React Native.\n\n## This solution\n\n`native-testing-library` is an implementation of the well-known testing-library API that works for\nReact Native. The primary goal is to mimic the testing library API as closely as possible while\nstill accounting for the differences in the platforms.\n\n## Example\n\n```javascript\nimport React from 'react';\nimport { Button, Text, TextInput, View } from 'react-native';\nimport { act, fireEvent, render, wait } from 'native-testing-library';\n\nfunction Example() {\n  const [name, setUser] = React.useState('');\n  const [show, setShow] = React.useState(false);\n\n  return (\n    <View>\n      <TextInput value={name} onChangeText={setUser} testID=\"input\" />\n      <Button\n        title=\"Print Username\"\n        onPress={() => {\n          // let's pretend this is making a server request, so it's async\n          // (you'd want to mock this imaginary request in your unit tests)...\n          setTimeout(() => {\n            setShow(!show);\n          }, Math.floor(Math.random() * 200));\n        }}\n      />\n      {show && <Text testID=\"printed-username\">{name}</Text>}\n    </View>\n  );\n}\n\ntest('examples of some things', async () => {\n  const { getByTestId, getByText, queryByTestId, rootInstance } = render(<Example />);\n  const famousWomanInHistory = 'Ada Lovelace';\n\n  const input = getByTestId('input');\n  fireEvent.changeText(input, famousWomanInHistory);\n\n  const button = getByText('Print Username');\n  fireEvent.press(button);\n\n  await wait(() => expect(queryByTestId('printed-username')).toBeTruthy());\n\n  expect(getByTestId('printed-username').props.children).toBe(famousWomanInHistory);\n  expect(rootInstance).toMatchSnapshot();\n});\n```\n\n## Guiding principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  Rendering React Native components ultimately creates native views, and those views should be\n    what you test rather than the React component instances you rendered to make them.\n2.  In general, test the way your users use your app. There are instances where you'll need to write\n    unit tests, but try your best to write with this first -- the more your tests resemble the way\n    your app works, the more confident you'll be with your app.\n3.  Be responsible, and remember that testing exists to serve you, not the other way around. If the\n    library isn't working for you, contribute to make it work or do something more intuitive. Make\n    your tests work for you and your team!\n\nIn summary, we believe in the principles of `dom-testing-library` and its companion libraries, and\ntry to adhere to them as closely as possible. Changes to this library should always consider how\nthey relate to what's happening in the other libraries in this family of tools.\n\n## Installation\n\nThis module should be installed in your project's `devDependencies`:\n\n```\nnpm install --save-dev native-testing-library\n```\n\nYou will need `react` and `react-native` installed as _dependencies_ in order to run this project.\n\n## Hooks\n\nYou can test hooks out of the box with this package as follows:\n\n```javascript\nimport { renderHook } from 'native-testing-library';\n```\n\nReads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).\n\n## Inspiration\n\nHuge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up\nwith this library without him 🙏. Check out his awesome work and learn more about testing with\nconfidence at [testingjavascript.com](https://testingjavascript.com/) (you won't regret purchasing\nit), and of course, use this library's big brother, `react-testing-library` for your DOM\napplications as well!\n\nThe hook testing ability of this library is the same implementation as\n[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only\nreason it was included in this package is because we need you to import render from us, not the\n`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of\nthat library with this one somehow.\n\n## Other Solutions\n\n- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)\n- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)\n\n## Guiding Principles\n\n> [The more your tests resemble the way your software is used, the more confidence they can give you.](https://twitter.com/kentcdodds/status/977018512689455106)\n\nWe try to only expose methods and utilities that encourage you to write tests that closely resemble\nhow your apps are used.\n\nUtilities are included in this project based on the following guiding principles:\n\n1.  If it relates to rendering components, it deals with native views rather than component\n    instances, nor should it encourage dealing with component instances.\n2.  It should be generally useful for testing the application components in the way the user would\n    use it. We are making some trade-offs here because we're using a computer and often a simulated\n    environment, but in general, utilities should encourage tests that use the components the way\n    they're intended to be used.\n3.  Utility implementations and APIs should be simple and flexible.\n\nIn summary, we believe in the principles of `testing-library`, and adhere to them as closely as\npossible. At the end of the day, what we want is for this library to be pretty light-weight, simple,\nand understandable.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://github.com/bcarroll22\"><img src=\"https://avatars2.githubusercontent.com/u/11020406?v=4\" width=\"100px;\" alt=\"Brandon Carroll\"/><br /><sub><b>Brandon Carroll</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Documentation\">📖</a> <a href=\"#infra-bcarroll22\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=bcarroll22\" title=\"Tests\">⚠️</a></td><td align=\"center\"><a href=\"http://tagraves.com\"><img src=\"https://avatars1.githubusercontent.com/u/2263711?v=4\" width=\"100px;\" alt=\"Tommy Graves\"/><br /><sub><b>Tommy Graves</b></sub></a><br /><a href=\"#ideas-TAGraves\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-TAGraves\" title=\"Maintenance\">🚧</a> <a href=\"#review-TAGraves\" title=\"Reviewed Pull Requests\">👀</a></td><td align=\"center\"><a href=\"https://kentcdodds.com\"><img src=\"https://avatars.githubusercontent.com/u/1500684?v=3\" width=\"100px;\" alt=\"Kent C. Dodds\"/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href=\"#ideas-kentcdodds\" title=\"Ideas, Planning, & Feedback\">🤔</a></td><td align=\"center\"><a href=\"https://github.com/sz-piotr\"><img src=\"https://avatars2.githubusercontent.com/u/17070569?v=4\" width=\"100px;\" alt=\"Piotr Szlachciak\"/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=sz-piotr\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://github.com/mcgloneleviROOT\"><img src=\"https://avatars3.githubusercontent.com/u/48258981?v=4\" width=\"100px;\" alt=\"mcgloneleviROOT\"/><br /><sub><b>mcgloneleviROOT</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/issues?q=author%3AmcgloneleviROOT\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/native-testing-library/commits?author=mcgloneleviROOT\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"http://exercism.io/profiles/wolverineks/619ce225090a43cb891d2edcbbf50401\"><img src=\"https://avatars2.githubusercontent.com/u/8462274?v=4\" width=\"100px;\" alt=\"Kevin Sullivan\"/><br /><sub><b>Kevin Sullivan</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=wolverineks\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://github.com/elyalvarado\"><img src=\"https://avatars1.githubusercontent.com/u/545352?v=4\" width=\"100px;\" alt=\"Ely Alvarado\"/><br /><sub><b>Ely Alvarado</b></sub></a><br /><a href=\"https://github.com/testing-library/native-testing-library/commits?author=elyalvarado\" title=\"Code\">💻</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"75e3261e5944076a1e87f242cedbf4d8ef7bc2dd","_id":"native-testing-library@3.0.0-rc.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-8tj0ViLp6zLFP7C7XsFo/GW+nHMpsGfc1mRwc4GDJ+shqk7uFbeq6QtKp6zBrsyCQmzd2VrC4AUnJYWcJurycw==","shasum":"f49cd8c67332bec47506bd374615e2741b4abcb5","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0-rc.5.tgz","fileCount":49,"unpackedSize":87543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc25mxCRA9TVsSAnZWagAA/OsP/3b0nndYaSgfG1Pq4Gwj\noFY3GBCAcWZ1p4FlJ/rLKrUJRSJcO840EHAXzhRpzGDPJkJUGAc0nE3xP9LU\ngVYrRMyPOpjj2dlNLRCIGhvKmzlxYutNeWmhxP8wafzHai3aSpiEbrYswZuv\nTCB7Ke7Fi/Zk6RLwbyAXFhuU7oRBfDM3bdLz+ptehkDQquNAwCG0CKcPbmOi\nAkBACQu3L1rDg9EPLDaCPHIFld3Atci62kMy0SJsczflB8eopa+i3r54Tcyr\nldefj7kBLuOlhf7IglnvZJ/brJA6ZNFE0MhCkuIVa5xAw2Ks3Kwa4zsU0M7d\nc6leVM/51WrtZ0OsDKf36wY2ECjB4dRyICJ3Vgb0D4zbubLGXWADS8r7CbwD\nlTrY4OxGxfVqi8kYnq8OV5HzE2nlxfbKGYJS3nGy7he3ejcdHnkfUVWW1YNr\nDah2/ldJOb6595bCJpg4aXtXymtkaCYwehZwk1BgorzkDSeWWHIloMw2Byoo\ntXjGXOKG82cOAiNGiPFS7KXkSdUYkMrrlCo23tLl8T6AxBe2S2i4tnPL0JYM\nDL7IbHZOUCuUjNQwKLT6kThqQt/POsrm2Y7uthcw9KL5XB6L8DcHSkRry9GS\nGT4LpN92zXGOO0Q60VzkLjoVGv958jEOZgBcvbXSJKC3NujkqS44wpPR6g4e\nSzE1\r\n=ICZC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICs5515V+C0HQB3LfbhJdbNeiTTu8mzMO0XBu2VgkxFMAiEA62kZMJbsrpdvFCoLA7sovu3chvwrkk5lJNGQbTZJIZ0="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0-rc.5_1557895600667_0.767052510197342"},"_hasShrinkwrap":false},"3.0.0":{"name":"native-testing-library","version":"3.0.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3","snapshot-diff":"0.5.1"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"d82bfde17ddea6a919ad006e445939e7915a8855","_id":"native-testing-library@3.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-f9enT/w6X0FOeEa+KUCYuq/Ee4rRR/G4w43LZLM4HsWq1Yrq/7XbrQQ+w19G1/pS5FXUoZu58LZ9yQJKxMaNJA==","shasum":"655d505241042e2fbff1a22a7f297b3983095d96","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.0.0.tgz","fileCount":49,"unpackedSize":85943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3MsJCRA9TVsSAnZWagAAWYUP/jPnhLdtNYsNu2oBfcKA\nxVTZOkPdz1O6qNzbLOOl+NvJCWRPxXQpQzYmLi1UYFtS+u7c8d2PNdiGafYt\n72tWP3YNAVnZBNyWaetda9KGqFmlPc4XVilIJzy8HlUt6IDPSwNPI4Jbv18I\nnF/plHNQ92WaF38VWj2hGmhXIFN3WVA4zcpbIjEFKBstB/2CrSp0zjG6fYYg\nmc4bYYJRFngo7oXMJdV9+mEo2v8gNnoyO3X9KFVu45XY66umhFsZe/rm1yaC\nIBVSpxdJlEc38gaj9Ffu1a2m0kcMtaZ7mmU4L5TUktJ9nxcOPMcTytdslQ58\nrWvQOLpoaOtEPn8tcHjeQ9eQ+S/Cfgkz/Cz0ZsmEZWz/Knw3G45RKYTV5h6u\nJu8Z7/Kie4bF+NjAzRmltOg/BEgrqooiOiPvFUwHEQVGnQedLTRHtaFymG6l\naEemSYOsmI06qHaj7RPqaBcYdQ4nFI0YOo3qZqcXoLu2t3kxmylymj2rD1vJ\nbXbQuvoan3JdIfIT58lREUBJgcgsN1SmGRZ7timnCva9uL47BBhAvVaS3Bcz\nfyRQEJ0fZ9bNGEBJWH+Sk9Y4ye6cyXBeOQXYbTHCKQw9cq4Ngw4Dfsgi2T+/\nYYoZ9SfiD/G4qR1l2uibmO3FVAFj4hoUs2Us4MZdR5jDNElIwG81S26Fb/6U\ncNzL\r\n=eKjR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsXR3J/kV+vhkMBqPLeDil4dPetlVJ0bdo8hCr0KpEewIga2EWcNyQLDbHphYqBAZ8e6VU83xhemnb7zhEaKGGi68="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.0.0_1557973768361_0.2249529520259823"},"_hasShrinkwrap":false},"3.1.0":{"name":"native-testing-library","version":"3.1.0","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3","snapshot-diff":"0.5.1"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"b8e3ca865d98df8acd09acb046e5b0f7ad3ccd51","_id":"native-testing-library@3.1.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-eGP/OgAceFzZ4B+6+mloM0Gvc6djZ1CC5Il1jkUcVIIVo1xIt1Xvi1dBBUojipAhetRgHhMxiLZnrQg8UpBkPg==","shasum":"4902c0c0576b1ee95f28c35e4d0bd9d30af4ed98","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.1.0.tgz","fileCount":50,"unpackedSize":86484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc412JCRA9TVsSAnZWagAA70oP/0JPt7YAfrQnZpQ8qrVO\nSt+I4aZns9E1CVQ8UJXJ+416ML0+2U4k87Uo/GyacdXA8AfNaqYV/bcfGAwN\nnAneZ1U0IthjYqnaosQBJkbs9LQfCGY5evyv1HOi0xXyjQ3XcVy19r0Ce5RR\ni6IppIJtWvGcF3pgYkZ7cayBk57UVbp18zl/7FOhvp6mac/X/K/V6tyPl7gP\ncI5Hr3JlPSAE0bdTbUmEhlxlle9Kl5ODJggix3JF+Erf/73ZePZzlHI4dqle\nSp6Wrk0ijNz3pT4SLeuLPLFe/mwILssNndyFJ04OGXMETfET5Aa1OU/QA9X7\n+k+YLYP3dBoz7fjATL0XvLY8T1IlLXZAk+fHJrvcyhdibWBJpxHeAifY6BhY\nEK2cgMdFB7lsDLRQtfbzd7Df3XoxptRlqgR5lCXdWxVjmwdCIhInYIISxhjy\nRI2+7SEeVVK9b3e532fL9iNfNOd+dXUjPLDsi0wSu6ygifZWcQxhObOLWA/5\nQX5J9ssc6pvv2jgmrGY7jwtINyP/mTSnsvaZKNdb3TbWtXXYGqisvmgDnrKd\nJTyq719ZBFJufoDR44aEUydy6FZ8+0uJ8dQMFWw5LSqedAhK6bqoTeGjw0Gu\nAxjljv52QH4SCkz+Rmb4NTqW4DGpO2/kcZInZNKDrr6z7nPJuql8VBvqtn5/\n4obr\r\n=raUv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCABF3IPa5chHHQzV4GzczQVe9IEJgI3ZUATncCfg3LgwIhAOsrdo6VMQrjz7hZcWz1ZLeg5KPCYs8f4CXXRJc2OEVV"}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.1.0_1558404489139_0.5421959215495251"},"_hasShrinkwrap":false},"3.1.1":{"name":"native-testing-library","version":"3.1.1","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3","snapshot-diff":"0.5.1"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"bca8d19fc0a8cb4ff2cffeb9a39fe2a75bf7ff4b","_id":"native-testing-library@3.1.1","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-+PcfJrTxajpsIIzi90RrmPvFEOiCa3xTv0xz7waPMEV/uwnJUOGf9jb7hNXL3TS8MeqX6LIVsVjZHNCaTRWZsA==","shasum":"d323c0c7ed0b72e9a6f1d2ee336911c3dbbb5914","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.1.1.tgz","fileCount":50,"unpackedSize":86845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5HNiCRA9TVsSAnZWagAANygP/1vKr/77+lMQWr7VR9rw\nX6Uek0/bYlGt7JHj4tZOF6iRXc5njebS8JH8ry3keUM13z/NjHniRvsQBCKG\nSBFSyBjBPXKI7EHDGu+H1FDeTL9F/KIguAL3rpe1fGc1unH4nk7ryoAmVxYU\nFbBfHeiuLvo1BJ+en4Lhly2+zTtvNjAQT/X5YaIss6/nbbI3DBwxSfl64CdG\njT8P/oXnwsbs3FjSuIlzVXr67WruEKHvezI+Hv93mRTHmXJ9lvmShRvkJvDc\n6VBdhiOhQ+yvq+FXOQrMBlQozYgv2PAnV87tjwlYI8uWjPUIvbSQ+HmBI0Fg\naQtja+AMgVNLY3QXnrIk2+G5TytiQz1Kg3uD93cj4BjABX6tUbAdDo4/M2CE\npt1vkbzfRbkS3RUNTMsc3KzLEh1DdCo64H/rpqfWZm3+Yd1hc+rPvZKNGT6u\nR69EKa8LqLhDDF1DqYlBe1lIPjiHN5zyuRRbxiJuy2N8owAtG7uJbBbPhCpi\n/5id+eRaeFHuGIk9Jhx8tbmnlkJvgieoEidnH5jsa9o9IKMocq17lw0CnOpt\n9vIgaMzE5A4EMkUeeehA9alFT4mvTYV+BYWTTyYEeUAOZyS2D3F3Pyw3E4a7\nbgswP229fJCd2MFCvb8/EvUINtjbvYbnh9fSyI2dWIHBmfjCu+XkHo3PVfs8\nHSR+\r\n=rL4+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAnOCUnzKFcO/2TWSJYgqCy/rg7GdzThyr3aQezEwUEAIgIWuH+TF2OAPsvAqexnZqvFu/FIWgZ0+LlirdPe2vLmM="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.1.1_1558475618257_0.7529750152318762"},"_hasShrinkwrap":false},"3.1.2":{"name":"native-testing-library","version":"3.1.2","description":"Simple and complete React Native testing utilities that encourage good testing practices.","main":"dist/index.js","typings":"typings/index.d.ts","engines":{"node":">=8"},"scripts":{"commit":"git-cz","commit:add":"git add .","commit:all":"npm run commit:add && npm run commit","readme:toc":"doctoc README.md --maxlevel 3 --title '## Table of Contents'","test":"jest","pretty-quick":"pretty-quick --staged","prepublishOnly":"rm -rf dist; babel src --out-dir dist --ignore 'src/**/__tests__/*'","semantic-release":"semantic-release","test:coverage":"jest --coverage","test:watch":"jest --watch --coverage"},"keywords":["testing","react","react-native","unit","integration","functional","end-to-end","e2e"],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"license":"MIT","dependencies":{"jest-native":"2.0.0-alpha.5","pretty-format":"^24.5.0","react-test-renderer":"^16.8.5","wait-for-expect":"^1.1.1"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.4.0","@babel/runtime":"7.4.0","commitizen":"^3.0.7","cz-conventional-changelog":"^2.1.0","husky":"^1.3.1","intl":"^1.2.5","jest":"24.5.0","jest-fetch-mock":"^2.1.1","jest-in-case":"^1.0.2","metro-react-native-babel-preset":"^0.52.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","react":"16.8.3","react-hooks-testing-library":"^0.5.0","react-intl":"^2.8.0","react-intl-native":"^2.1.2","react-native":"^0.59.5","react-native-gesture-handler":"^1.1.0","react-navigation":"^3.5.1","react-redux":"^7.0.3","redux":"^4.0.1","semantic-release":"^15.13.3","snapshot-diff":"0.5.1"},"peerDependencies":{"react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"npm run pretty-quick"}},"prettier":{"printWidth":100,"singleQuote":true,"trailingComma":"all","tabWidth":2,"proseWrap":"always"},"release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/testing-library/native-testing-library.git"},"bugs":{"url":"https://github.com/testing-library/native-testing-library/issues"},"homepage":"https://github.com/testing-library/native-testing-library#readme","gitHead":"c746596b1cf1c01b2cfdd79856fd2b8d52e733aa","_id":"native-testing-library@3.1.2","_npmVersion":"6.5.0","_nodeVersion":"10.15.3","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-SCpU6EFtqte593pl3qH6f8DNsA0K6QlMx1oxYFbeS2wRJ4HxvW0bcwkJILepknfWJjTvlQhMNDAyFVdZvHFD0g==","shasum":"6a541d6bde696ede6e41fa18ff78e4881ecb3eb4","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-3.1.2.tgz","fileCount":50,"unpackedSize":86895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5hqmCRA9TVsSAnZWagAAz3MP/0yXuAi8MGLz/jZVuG+M\nWcsUeKLj/eQ6K1JMyltJ0HlPx1kVOWBODCl0lGwXXIPsvD44qeqBUvzmUORO\nlPP6d/T2VUqvOMjgZxOyNeZfUJJxLSPeTiPUKi9gV6QrzNm2iudAe76eSKXo\n8XwmJFN1SjrdsgJKZNP9OMG+LUPZBTGjWF3xhaV/J9fwCBeHIwPX2Si6vEjA\nNygBoY1aPd3H4muX1x2VAPZVy9MSlKtuWov0BrvJsp/L8knkgV8cMRQU/fL5\nnbapPdMTamtOmMXX9lOUiWDwqDQZ9AzvFQCLCp30DURNIzIbv6CtYS088XDa\nPKwcPaXDZsKYUuU+ckn4M549ygHt7h+gObx6GDZf+Xht4AzO6jkOvqrScmC/\nQtFMg5HM71lP9skQytxl2xra8UI8eOjjX/mbUXvm8SnVEcBOg/6VbY6HvTEb\nCEmfDbp4D3kK1gNUozJOMoazB20HVV0yEOPMGqXojy/akADJW82nk+UNshmA\nlhmU/4Cg/Q23P0Qcis/vxJ8l1S2T9wK3J7rRiWSlptxyk+c9x0x0UHZeyWl4\nze8nYPxl+92UFSdWKU4+769tZ4GH3g2hxax8cg4xNgk5lNTE6Xsznq5CA4Ih\nKlzT6VzpsEukyWQ1nh5CD8xcFsD5kmqLgj+zMawcctfoOCfmHGredVA/GlfD\nMKvK\r\n=rSkQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDj9OGXS1PsIi9m9/PlMHC/NUL7B77idjMhwyHlDwdjEAiBCDY8AhO8yaSF3UoIU3LrOYlhn+Sbs+gS+bXyfGvzyuQ=="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_3.1.2_1558583974218_0.5294317858447766"},"_hasShrinkwrap":false},"4.0.0":{"name":"native-testing-library","version":"4.0.0","main":"index.js","author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"gitHead":"506af666b6cb7a49eb71adfed441f7fc1b5bafbc","description":"","_id":"native-testing-library@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},"dist":{"integrity":"sha512-pJ3luDQPh8uSkSiddRrZdO4AwyocFub6btPAuYFzgSPA3JTGxab4uxAzqubMrWmsTPeMNwcFQnqqZQx+uo56VA==","shasum":"b31c39f87418d19e84bf4654f6823e0698855757","tarball":"https://registry.npmjs.org/native-testing-library/-/native-testing-library-4.0.0.tgz","fileCount":3,"unpackedSize":873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8Sb8CRA9TVsSAnZWagAARsUP+wZcFvGRfkVLnq7QWjAw\nsxpil7bIUK5R5+rca6EZEQWGjlW2jpoBtyYkFw0xCYaJispXjq+zASmw6oJ9\n6pMWT0Tv6y0WL4Q3y+ylqQEeLYTsJMZ3qwSOWSBAsq0sswoK77GS9OCq8wTQ\nOGHkWSbDeyH1DIvCLeXAXmph1pkBz89PRoUJTzNzsWlAu/XMlwtzH0VA/fR8\nVIHPmF16ACxGKlUOv6GICWivZ0gTkOHPizUyl2c/QaAE0l9bbdQdzIOt1aHG\n42sZgB66Kaa7ERFGO0wyi7aliF4lcojHjg5WZzBC1wompnKAhIK+7e5HeigB\nJlXqggZI1n2tcYINkm/5g2wLcNPpalsqY+4/o8kybyereZC6QeMUvqvyHuS+\nQxrPg9MwaEbbU7apz/hCVdVsNTgkM7dtsanwULVk62tG0KIEJW19YajHe6G0\nQNvvyZ3JxEorv9KcrJE0nyDspTnqzvKk0vYo0ufzQ9NvgHu1+le3dNnV0yhs\nBfAFWJmpuBIq8uPgNRyPbHu/Ey6iWDRlg93OmayC9qLpbmQqhtra12RyXdJZ\nKhNEMpI1Jzzdnss20LFXSs5uX8upz5ektFhGSk/V0ZKtPEJjenxBW6ZTP6bB\ny6EFvViNPMkNoK4pqEhiQDbI241Ykv3RH7OlOIM+BYkKujs3kN5vFu8jKtm2\n9Jih\r\n=/Dka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1q5B+BILfdeSuOmX/Hx4R6/ri9XjO6mL5Ad9oiAEq7AIgYds0ERtpEtT5IVumBS3zeE66EImGeiij21ZXEw7Buf0="}]},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-testing-library_4.0.0_1559308027549_0.3922400619707973"},"_hasShrinkwrap":false,"deprecated":"native-testing-library has moved to @testing-library/react-native. Please uninstall native-testing-library and install @testing-library/react-native instead, or use an older version of native-testing-library. Learn more about this change here: https://github.com/testing-library/dom-testing-library/issues/260 Thanks! :)"}},"time":{"created":"2019-04-01T13:22:39.023Z","1.0.0":"2019-04-01T13:22:39.297Z","modified":"2022-05-10T09:39:48.618Z","1.1.0":"2019-04-02T02:09:34.110Z","1.2.0":"2019-04-04T01:16:50.072Z","1.3.0":"2019-04-06T00:59:51.958Z","1.4.0":"2019-04-06T02:11:35.437Z","1.5.0":"2019-04-06T03:58:34.397Z","1.5.1":"2019-04-11T18:23:16.173Z","1.6.0":"2019-04-12T01:26:17.546Z","1.7.0":"2019-04-15T23:30:13.005Z","2.0.0":"2019-04-25T20:41:49.304Z","3.0.0-beta.1":"2019-04-27T18:29:01.497Z","3.0.0-beta.2":"2019-04-28T02:10:54.534Z","3.0.0-beta.3":"2019-04-28T21:28:23.991Z","3.0.0-beta.5":"2019-04-30T02:11:27.534Z","3.0.0-beta.6":"2019-05-01T20:14:03.860Z","2.0.1":"2019-05-05T01:01:31.028Z","2.1.0":"2019-05-05T04:15:43.688Z","3.0.0-beta.7":"2019-05-07T04:09:31.374Z","3.0.0-beta.8":"2019-05-07T14:47:57.500Z","3.0.0-beta.9":"2019-05-07T15:24:41.526Z","3.0.0-beta.10":"2019-05-07T16:04:23.562Z","3.0.0-rc.0":"2019-05-07T18:38:31.288Z","3.0.0-rc.1":"2019-05-08T01:47:05.833Z","3.0.0-rc.2":"2019-05-11T20:00:48.661Z","3.0.0-rc.3":"2019-05-11T20:03:18.165Z","3.0.0-rc.4":"2019-05-12T05:53:20.073Z","3.0.0-rc.5":"2019-05-15T04:46:40.835Z","3.0.0":"2019-05-16T02:29:28.571Z","3.1.0":"2019-05-21T02:08:09.335Z","3.1.1":"2019-05-21T21:53:38.375Z","3.1.2":"2019-05-23T03:59:34.357Z","4.0.0":"2019-05-31T13:07:07.651Z"},"maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"}],"author":{"name":"Brandon Carroll","email":"brandonvcarroll@gmail.com","url":"https://github.com/bcarroll22"},"readme":"# `native-testing-library` has moved to `@testing-library/react-native`. Please uninstall `native-testing-library` and install `@testing-library/react-native` instead, or use an older version of `native-testing-library`. Learn more about this change here: https://github.com/testing-library/dom-testing-library/issues/260 Thanks! :)\n","readmeFilename":"README.md"}