{"_id":"@testing-library/react-hooks","_rev":"68-00251c1f885001c4757733713cecc427","name":"@testing-library/react-hooks","dist-tags":{"beta":"5.0.0-beta.12","alpha":"8.0.0-alpha.1","latest":"8.0.1"},"versions":{"1.0.0":{"name":"@testing-library/react-hooks","version":"1.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@1.0.0","maintainers":[{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"38e737712ea09334fc9014310323638b04c632f9","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-1.0.0.tgz","fileCount":6,"integrity":"sha512-f6kTi8RevNzB/VoI7UbBkm2kMoedJ5P0YqZOJPihfYkVY0aUGjdTvgRMGkFAk3lg1wMd+xBknCYvUTZZTGa7Eg==","signatures":[{"sig":"MEQCIFQD4hg/pTmccOQ9UY7Vaa765ObrvSe3Pl+9IyKla7npAiBXAfKXYLdAAskU5Z3rWbEld0ryvFYNoxe0P8xPx4CJ7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjTACRA9TVsSAnZWagAAcT4P/jHU1d9gDlUD/wfimllM\nmKQpbbvpY/28folNkvyJmMtHDGjNbo7uSdDLZNp7OxoXmU3GQTbmawaxPplQ\n68ObSzYFxSk+nuxU5EBzVGKEaDqs2yysxeFzDMzO1YpvAWzvB2zJXXX5YTRY\nsWOV4HLFqkwCF7PQOhKGqEOUac9JZaJRIwcQW5lt5tdFhYnlIfvcS3xUpcCl\nDevsLrv/BjV7PKkatGl2nacgbQEkdOiJw5ukXYDEhvkZ5SYFZxzJ0sRkzujq\nK3cB+ygp0uYlIUqDr2zDFtRmEuxXAf3UheZ19TA7ncdBtaDPcVVUGdD2ddcx\nNXQmgv2qPO636jzqNurU8rjHWZrHnPM8lEK1bAYgB8GZrvzAjuOWptD2EVDa\n9C9yF5V8re01XneK+AEvjF4cPXl+jZm74cax/Ec1gQ905NJ2O+tQYej3AjgN\nFE0jNrDiXG0k72BJxVOkA9IBDWH7V+XElGtK2BUSS3ZuLeZUfs0cr0oPTY1r\nkGKHb8qPmB/NdpoZruQtnOndXUjtfA6mSX82WYXVaqJMdQx6R3qqqfSG+xIk\nqNNuQP1ieQFR13rdZD5G+XwLA0d/+df6ISOvtBZUfwBlYJt+Is8U1F+ge3Rr\nS2vSIynyBgLqz/YZfXrRo1KXPWFAnGtec/z8m/nMb7yEQkct1nuBQivtMGeI\n18rh\r\n=jTTj\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"ac7aaf955f418cda082c33771711bb39855589ae","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,json,md}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,json,md}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.0.0","dependencies":{"@babel/runtime":"^7.4.2"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"24.8.0","husky":"2.4.1","react":"16.8.6","eslint":"5.16.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.4.4","typescript":"3.5.2","@babel/core":"7.4.5","lint-staged":"8.2.1","@types/react":"16.8.20","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.4.5","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.8.6","all-contributors-cli":"6.7.0","eslint-config-prettier":"5.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.4.4","@babel/plugin-transform-modules-commonjs":"7.4.4","@babel/plugin-proposal-object-rest-spread":"7.4.4"},"peerDependencies":{"react":">=16.8.0","react-test-renderer":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_1.0.0_1560949951398_0.5544637536332386","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@testing-library/react-hooks","version":"1.0.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@1.0.1","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"c2ba5cd188e225a3435ba62d253eba75baab8126","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-1.0.1.tgz","fileCount":6,"integrity":"sha512-sUhiZ6m5ugBrOyev4UWOb0kKXQsGsoD6skQryYV89DhCd9nxx8HN5sxvZ9mJnZhcHTe47Shopdjh2bYPi67OSA==","signatures":[{"sig":"MEQCIAFbLc7xTHUqZvWRzwHEDmAp1Yo+nh9MOAI22MhGtGW7AiA+JroDVMNvxBi/2Wu0M9OMqzB3koozNmmbbbCTrDnBvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjoYCRA9TVsSAnZWagAAqLQP/0+h3VC4IvbciELSnATM\nZzbjfFrpgGZ5t4GJjNVRPQOwa67kdlbRQsRwARzdotEDQV/sqbSXAplt4+pH\nv0nc8+txwqn4f4A2mIyHmfXV7K1TN58FYmRdEHWtpDWdSitDfPJqW6BZ7h0P\nHAI9TSTPa9MstHHH1XcqsYf20Ff3LW5ksQ+2zKxI2SeE0d7dTkzUtGk0Q8Ao\nyLnnkbhoMpDgw8gXPAanZ4nPHqnxqOXp02nc7hETInon7k6vDj/+j0Qi1U1k\n5nbbLnsCP5QNV0LsSy8sNUgP9sVwqRvxcTTC4HwDh44/B1v/p7lO0rKeZNDr\nHapN+6CZdyDEUe9qkuQihAszn6015X4VX666/Sv+4T+5qhZOb3DgYnFh37Pg\nwkN5+T/3u51G4lzqLibfZi9185rKLNiNOMLxCshs515P5hYN9uPWDq3rPJFs\n/C+NSQcadRj4NHpiHb1N+E0fdLFDkhFsRQSUAMeJCWr0NYIxQoRSzjn+catG\n/TkW9gZsLWou1jkUNIZwhfvZ0P+yK3Y3ZUx86391tvDpqLq8752b9P2jqJhH\nUXKjcSEmMFo+3ggYj+X82r9f+RFdW/5IuhwGbSw0bsjkk6Vr4r6bV6J6VFnk\nqxti3YT7udIWboHmqPVhH++3JzsMeGCNYWnjK7Qp+UeWJTyEFzzjVtC14Tga\nhrs6\r\n=v/G2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"a2f19fb477cf837e1b0bba161863268871f6dc72","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,json,md}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,json,md}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.0.0","dependencies":{"@babel/runtime":"^7.4.2"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"24.8.0","husky":"2.4.1","react":"16.8.6","eslint":"5.16.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.4.4","typescript":"3.5.2","@babel/core":"7.4.5","lint-staged":"8.2.1","@types/react":"16.8.20","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.4.5","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.8.6","all-contributors-cli":"6.7.0","eslint-config-prettier":"5.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.4.4","@babel/plugin-transform-modules-commonjs":"7.4.4","@babel/plugin-proposal-object-rest-spread":"7.4.4"},"peerDependencies":{"react":">=16.8.0","react-test-renderer":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_1.0.1_1560951320074_0.4521361089070113","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@testing-library/react-hooks","version":"1.0.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@1.0.2","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"85a91e6c63015cc861f42713f9066bf62f491457","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-1.0.2.tgz","fileCount":6,"integrity":"sha512-YBSeOC3diWm1DQUjj1Nixj8Y1O3GA6gZaQo3QrmRxslUF8utN0ywZOY7rWbbFdgoSJUdWb6LWU8LwIN+/egujg==","signatures":[{"sig":"MEYCIQCfVDCQGmG+BwpBFdAPe/UqD1PB2+ezeuloFvzg4qpLTAIhANCg9GkpT8uh2sJeRPcoxsi9T23iwuHt/GHMr1Dt7P4c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjwTCRA9TVsSAnZWagAAhMYP/13mam9ou9hPlQxu/+ZL\n/ubxRHIkooMZ71ivVksCkdarFEnunaIN//fN2BqjIhlJTFfUPT+dTfuRqVds\ntpLI60zT5Z+C8iLRiMmg8qx0A7H73zQElCU1WDX1ZuuN/zzDQKRnSKeyho5X\nceZz06SpdCC3bMyUTqaa7z4mWXbYtVU7vyNOJ5m0Qv9CGSdb5kvEXppuQWNC\nNrn2sYR1Ir3hswNIzEizsL0bJM0uiTDGJFxycTHFZBRJR2qT43EqvjJFeyK8\n6g3csqqxvdPVWaLh2phnhE0vTz7DxIVOa44GI1hDiR3rvLBdkAfbmXWjkcoF\nkJGsWBr58NLvBpiVmXeCDcipWx2OD65SCsniL+m9YxfT++WKyOkLEqbkzax9\nF8La8cEcoPH8uR2IRBjFIoi16SPrzboXBhPRkpb7IW0kiU/ZLqldMTeTRqKS\n78Op07skDJCf0/iJlkdAKdskxmG0Ok4WqcJm4YiXHNJFJS0GErCcahDTUNKm\nZE+G0ibppBAc/AdY4JiE6iayxMWuqlTzecPuBARa1QB0Ax8rbCq7f13zZBKk\nxY0eOFFP/KGpPDzyN3s5V34L88NgXJzL09Q+M9MJ9g1RdIOeveSDf32c+syT\nachz9tucsIudpHz7zDciDra8OMKntujEA3jBlE8O0BsSSGtcq6M7LzggRFGl\n+/VF\r\n=uDQM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"ad53fa7f0d455646e97d683ff10720c0693b3bc8","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,json,md}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,json,md}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.0.0","dependencies":{"@babel/runtime":"^7.4.2"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"24.8.0","husky":"2.4.1","react":"16.8.6","eslint":"5.16.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.4.4","typescript":"3.5.2","@babel/core":"7.4.5","lint-staged":"8.2.1","@types/react":"16.8.20","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.4.5","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.8.6","all-contributors-cli":"6.7.0","eslint-config-prettier":"5.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.4.4","@babel/plugin-transform-modules-commonjs":"7.4.4","@babel/plugin-proposal-object-rest-spread":"7.4.4"},"peerDependencies":{"react":">=16.8.0","react-test-renderer":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_1.0.2_1560951827024_0.0900266223238535","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@testing-library/react-hooks","version":"1.0.3","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@1.0.3","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"2be9bfe360f03416aae419dafa71dc72ab842b50","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-1.0.3.tgz","fileCount":6,"integrity":"sha512-RXjp2QCjgLHGHdAj3Q55e0rrY9BjkJUWWTzbSWvm1q6r+X3LC3Dc6FAbi5PsBdZW7xoe31kf2vH4LkuM8UKVGQ==","signatures":[{"sig":"MEQCIA52mDojQMOSwZo2MD+xCjI8/YhLkQapUN/JjJy6TF1mAiBIrylrm3BkSB7wxRTCCEMJ/aIQeVjpAdrDP90Q73u0Pg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDLwICRA9TVsSAnZWagAA8G8QAJrgcBcRsVulkZ3p23Um\n2zjZrCD257FreQjw3g2XngGr/XgwLrpaMv9S8jd0RxdgwZU6WIIbbW6L2m00\njrhpikKe3DR+HDcWfxMKp5nnXzFF76ZlDsOckl4H+cUBXAUiQv7JubMYcJU1\nbz2Ci0Jmlks3BIUhA8dfv0W2X72IODvRd4pGNAqsPTqdq6fTEfJ8NztLNPr0\nj1bvFoglyZpQv0n7xb7lagbNYIszYUnx5WZ7YhSuynNQKuGCvUHal4tZSMqA\nPUetyij+IFb4T65ptS8H17VYYA6n4o4Ce0PSSzvw55x1Dsu6AjK62ICCknD+\nwDpEUkq5U0+DNY4rcgDvoCazdw3QLGliUw3LhXwGWMDYHyv1CJ2HxxyCm5m5\nFE/WN8WnX7ujxY/bk5RFfzPf5hrdSl9U2gsU/huafpV7YD9WEa/dlfxa99lr\ng6ZrEc7KFMVJVF+JA1V6Kt1zTj9QoIEzHboxx/L4dd6dfKQeSlWEfqvH+FKC\nqrBcREQkm376b2bweeSLPBhtgvHPpRyrCTuZqoYIz2Kh4y1fE+jR1gxHNcdp\nfRDocb59r3U1Pp03EVSo7OpM83MKjrG274ZpBq4UbY0y/XQ4H5yemr8T2BDd\nqw1E6x+ZanLuBhLDOhlLpnVekJe7D+AYtatKc3+ITB3VMHTTz69xb4G6nxn5\n5bK5\r\n=+LAl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"f0587a5696b9e2e8a68b4344722b6f7d3b37a68c","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,json,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,json,md}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.0.0","dependencies":{"@types/react":"16.8.22","@babel/runtime":"^7.4.2","@types/react-test-renderer":"^16.8.2"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"^1.0.4","jest":"24.8.0","husky":"2.4.1","react":"16.8.6","eslint":"5.16.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.4.4","typescript":"3.5.2","@babel/core":"7.4.5","lint-staged":"8.2.1","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.4.5","docz-theme-default":"^1.0.4","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.8.6","all-contributors-cli":"6.7.0","eslint-config-prettier":"5.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.4.4","@babel/plugin-transform-modules-commonjs":"7.4.4","@babel/plugin-proposal-object-rest-spread":"7.4.4"},"peerDependencies":{"react":">=16.8.0","react-test-renderer":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_1.0.3_1561115655227_0.15071037558925626","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@testing-library/react-hooks","version":"1.0.4","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@1.0.4","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"5e91df44c3cee305c50b1b0e1fa9d97578024309","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-1.0.4.tgz","fileCount":6,"integrity":"sha512-yFulIcOY7oTtkUHRzmWb0nPWpt0mA/WMm6BWCzoZopLptlSk6LrGC3P53bdN7UTcYqyExszSwMz3o8PYYQeeEA==","signatures":[{"sig":"MEUCIQDFYzV/OO7tUOp/zlu1rfC+bR2neezc1p7lSJeeFLMGewIgQp4mw3tTYAA06YJnCGcSreceqtEpy/Q2XZFVlD/85WQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDaoQCRA9TVsSAnZWagAA+3wP/2nBQdnqdrExCmMBtRZj\nRNC+iXSRpQbVQJmJa2TGYGVpxNsluOoBMiXrwH3oUztDqfrBOTURP0L8XmEY\nyABbiiYIgcYcPPBhP50gFRByGVO1jLrXXYxIcmponu3X8KNm2m1n7p1+BNSf\n0ASaW6oys/GP9NAoRQHoKf0e9TUIVarcanqJRuZbaCrfq7YfJk30PuP35ZPR\nMegUW57Eflx/GkQpaLbeuhIQQiksFmCiVi+/+Ecr95JjRHzVLK53GZ94x/Ap\nBIP3FnRARqMQyiCKPHV1jcF54anQIRY6lDfCFmN508yavjtgL62Ol1dgoy1c\naI1e2ZxsjA2hF6z2lkenYhFToej/f7KLvUENq5lD56IZbnFOgZVfGMHluZbz\n1kYLus2UIvmp7mePurml+Q6XQUgxQrWHGnWIg4kYf4VgocUMHea6PsRq5RJ8\nS10EoLpISAeS9qnGwq6I5CPkNWAiTPcNcvbumAt2lrTpD1C47hLb0HFMWJT0\nRD4ZA+sVvE/ILhnsvtHuK3RAbc+jmd5vG5xth2bkGG9mMLBLs0T21Xhpx9Jd\nMpBT77vr6eSZC/rNyfbDvoeVsFk3POSdzRNXeEbHBNZTKs8Rv0ohlcYzSpK2\nOMT/rVPNkl1+HPiEhGvwQOsORzO8fxiyWE1OTwxnUc4JWeCM5bYOpZ5T4Ga2\ngoFM\r\n=9CbA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"33f8d3e9056c1fb6b75edb2cbb35573c7e7d813e","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.0.0","dependencies":{"@types/react":"^16.8.22","@babel/runtime":"^7.4.2","@types/react-test-renderer":"^16.8.2"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"^1.0.4","jest":"24.8.0","husky":"2.4.1","react":"16.8.6","eslint":"6.0.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.4.4","typescript":"3.5.2","@babel/core":"7.4.5","lint-staged":"8.2.1","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.4.5","docz-theme-default":"^1.0.4","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.8.6","all-contributors-cli":"6.7.0","eslint-config-prettier":"5.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.4.4","@babel/plugin-transform-modules-commonjs":"7.4.4","@babel/plugin-proposal-object-rest-spread":"7.4.4"},"peerDependencies":{"react":">=16.8.0","react-test-renderer":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_1.0.4_1561176591512_0.2950503537270648","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@testing-library/react-hooks","version":"1.1.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@1.1.0","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"14b6b5c7c3d0e2cb3e55e9cbb248b44321641c64","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-1.1.0.tgz","fileCount":6,"integrity":"sha512-piE/ceQoNf134FFVXBABDbttBJ8eLPD4eg7zIciVJv92RyvoIsBHCvvG8Vd4IG5pyuWYrkLsZTO8ucZBwa4twA==","signatures":[{"sig":"MEUCIDM6hSYnl4Kn0BmHWdFJiklJ6vUfbeO8OuCUl5U+uuYZAiEAmSA35JAR5i+rcDLoJSsRzzI1dt2nVelKQatIfuPPJ4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGK/eCRA9TVsSAnZWagAAsMcQAIIg/knltIKtbXGgzUbn\nbV1A3JWKmoy/QGpk3iQ33twRaq4tLWpwrHlPADlIIW2uR+fN2KDH/7vO5hqO\njy1LLbCNxMb+H9oSRqN4nVhyVdTVduj0wEVa1EGYqd9EuWVKA2ObDxydRO3Z\nstM0Om604n6sKZmN6cBnxMZvrRDkoqKTZJbm7O1K8Sp+TZHxNAi3AiV0twpV\nXWYrjzfhGTFxr5Af3bRXdpJv0vFN7IV8x0z4zn23q9AjowfPOTNn+6B4l15g\n1veu7blnBXoKEZJwfVR6geuGCBJX6XxAPSXJ4QOcpsJVSfjobPUZ8hGbHjtw\nsylTYk2+NryEEs5Rygeru7Mc8H1T1s/zvKl9rzLNxswfikQKpNxCzcp+JMam\nir29T6zgWw9D3sHxvKadTtaRuwZie1w8iVd9XvFGWurYNkMkfnmFjgAHVO95\na9xSuEjfaUljlJe3YSDdF+ziTHcDXHZuy3GKxkuNI8nD88gUbh0CHBxKfMqz\nkj7Fi4RTaYbX4QMRGfvJ8AVyyJuR3rlL1lyrF0Q1z12xIazCeKRqh/4Uljyk\nB4ohEMEb/fBVk9Chm7uOLqSBXSlVESQYgYA1BkeF/pTZwr+IQ5vXJVt3sM2k\n5ipmEFGmlKzmcXBdUmaJ+0oD8Ep4R8IGgoanA2cXsIwc6889vRH/115kTrVu\nVbiE\r\n=bX70\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"13c65a0d8a86165b84d863700e94abf1f462751a","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.0.0","dependencies":{"@types/react":"^16.8.22","@babel/runtime":"^7.4.2","@types/react-test-renderer":"^16.8.2"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"^1.0.4","jest":"24.8.0","husky":"2.4.1","react":"16.8.6","eslint":"6.0.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.4.4","typescript":"3.5.2","@babel/core":"7.4.5","lint-staged":"8.2.1","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.4.5","docz-theme-default":"^1.0.4","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.8.6","all-contributors-cli":"6.7.0","eslint-config-prettier":"5.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.4.4","@babel/plugin-transform-modules-commonjs":"7.4.4","@babel/plugin-proposal-object-rest-spread":"7.4.4"},"peerDependencies":{"react":">=16.8.0","react-test-renderer":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_1.1.0_1561898973831_0.7312514068739657","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@testing-library/react-hooks","version":"2.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@2.0.0","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"331978cb41e53049c0797d11894c2446eee0ad36","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-2.0.0.tgz","fileCount":6,"integrity":"sha512-xaJLxYZlKqOb1vr4y52wfDkqLYDFrimbzKvK4XhuhYBrRmqzJM3ZbuczzCqesVbn5atiooT5TkBG3pSGBgWNHQ==","signatures":[{"sig":"MEYCIQCh9Lell/aXSxx1PHoS33lgcgOXn92g2E3nwT7lvp3WJgIhAI+V4o0k2v1lTcSup3suH1nrvh4I0nNqOZj0V+DchCm0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTVfdCRA9TVsSAnZWagAAFMkP/1LBK0gLDZgW7Q8/el/5\nKkrdLsAHb2QrOkvWL87+ZGaHjTOOc6luH8tHZDyov2E6UGIdKYRcZHKXOj5n\nOk2yWZ5iMAQHcDTZsp8PsNF6do7aODVDHzXtyojRyAOPQlc8dnFGd1USTGGj\nPmZ8sJ+F20/XB4AF/PN5uuA2gIEydwynrIZ/YzK2PO0q+AKC4yOkbpDjcrfi\n/uyNEJRvCHSnUiQTcBLTSqO8CcjySUTRHvHCn+WIejCgbArtgQX0kZWO0s55\ne8YgQdi6EFOrAgpU8T4da6C1cfvXT6UQGF2msXyfHUuzc2d5IHp2waR9xiYj\nU9LFZO7yo4Cb35uWTtZd+DhFaZiKgXkZtO7ZvLw2h8/5/axL6lixWMH2TjG9\n6uHyGyvqJLTIGDSlHZ6wAzeiRTAbmgY0wU6gibCw45ySY3m1O5FDuQ97MnsW\noPw633sgGbbPYMHSVwHzwnknWZ/zV8pTMXuv2Np818HuFDkIb7g1xY987zBc\nJsu15m+sbHcIlHBnnfzmFQu2u6AlHBeGDmtF0wMeCcAajtm/dMZufMS7hdRN\nQTmXmZ2sYO/+wXRBP/P7sPw/WcM/kFuMOk07KgMhC9U6rT56Z2YIJBufXdWL\nGLR3a1S6lZOy2DS1+qMpjoAr/W/P3b0LSKY10ZSudDRiqbCYI3V2CAB7mvV5\nh/ye\r\n=IH5N\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"bf78784cc6fe73c045e53d12deb8b076c1509f63","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.6.0","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.5.4","@types/react-test-renderer":">=16.9.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.2.0","jest":"24.8.0","husky":"3.0.3","react":"16.9.0","eslint":"6.1.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.5.5","typescript":"3.5.3","@babel/core":"7.5.5","lint-staged":"9.2.1","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.5.5","docz-theme-default":"1.2.0","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.9.0","all-contributors-cli":"6.8.1","eslint-config-prettier":"6.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.5.5","@babel/plugin-transform-modules-commonjs":"7.5.0","@babel/plugin-proposal-object-rest-spread":"7.5.5"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_2.0.0_1565349852739_0.02778536907331386","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@testing-library/react-hooks","version":"2.0.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@2.0.1","maintainers":[{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"1c3ec40882d0830df3078ddae0056fdf7366c81d","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-2.0.1.tgz","fileCount":6,"integrity":"sha512-MLTvWX7/csq/uQzP4WJntGz0QJDq6H4EzjV0VTL5YJE7KBZbaQ9DGT0IbtjuB33L4R4YKZ55rGZQ5eL+WiZtQA==","signatures":[{"sig":"MEYCIQCNCr0maHF0sDBOUNbnoHU4YWrFU9CxNKBhOTTQZE/bAQIhAOiX1N5gJyYAN7apes3gEj2PI/bmAzz2KXQkgcqQGg4y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTWEICRA9TVsSAnZWagAABlwP/A3W2wuMCAspakAwSfDs\nc6lLWizpnyY8ypsKe9eiJCHKjDJJfnpANffRJ/CGbI33/DK3hGiRZFLSsiuB\nNgSl0UnaamCnK8cyyoHhM3NkLpN6XoO+3rgzwIrSYLciiGWzlFLWnBNeF9+E\nXKSELS4oPH1dkq/2gOglYpoqH7ImbSoG6HhCFiSS43stDEKogp7vTMCGJrky\nKv9pnG68u5Iv+KeB8VoPWMhWQEMMuOxM8moeg5rjJ89lQ+xbsEC4Scbcmchx\n8FfHvdFM8xnHY5fC2lZUy6BkbM2DAXce3Bia0bzbWaOaMGOwb84R7Wiku5K2\nFNTwFaivSrOvnXgNnkEtMVI9ntEk6uOblzkIcapzcXkT1tu3ngJKAyk0RZdL\nIIYjPlPNWXXzNOa4RxBYEFb98QdIPdIvHb5+u7DoFvab1NHzyDAC2kU5oDbg\nokxfFytcb8I87wB9U7sjNmgGT9qVS5UfQ1xREN5p5jtl2wOL5xr6adz0/TFR\nh1aK0Uj49rVM4uf7TkudrgVNQ4+OBGANt4sADJSjfl2nwi10Da8k9IVS6FdK\nZYtA1mhQMdqloSlW/H6VzmEQv59K4R6C1OXCkNHUWRq97MkmDyzFh0JF2Haa\nKhflyGLSG9puSm05rUrglACRWoGl2EDM1zfpQ4o919A7Q3TNUiLZNVG5P7fC\nTaT6\r\n=EQJU\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"afbc0ca5866f8709b066aa35d6beaa94c73fd5de","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"typings":"typings/index.d.ts","_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.6.0","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.5.4","@types/react-test-renderer":">=16.9.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.2.0","jest":"24.8.0","husky":"3.0.3","react":"16.9.0","eslint":"6.1.0","codecov":"3.5.0","prettier":"1.18.2","@babel/cli":"7.5.5","typescript":"3.5.3","@babel/core":"7.5.5","lint-staged":"9.2.1","babel-eslint":"10.0.2","typings-tester":"0.3.2","prettier-eslint":"9.0.0","@babel/preset-env":"7.5.5","docz-theme-default":"1.2.0","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.9.0","all-contributors-cli":"6.8.1","eslint-config-prettier":"6.0.0","eslint-plugin-prettier":"3.1.0","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.5.5","@babel/plugin-transform-modules-commonjs":"7.5.0","@babel/plugin-proposal-object-rest-spread":"7.5.5"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_2.0.1_1565352199633_0.5058308173427462","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@testing-library/react-hooks","version":"2.0.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@2.0.2","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"00afc3cd36f1f4c13681f019a1a4c0e8d2c46903","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-2.0.2.tgz","fileCount":5,"integrity":"sha512-jsAGP52cQOXOtvigNQNiqPvMLVAl56oozHVFRdVFMmqIDv7bL7GszTyNYqVJdxurWCi9YqK6TblujO6vJKZv4g==","signatures":[{"sig":"MEYCIQDdaEJRMqbBfSvxICi+cHvwqMYDsbz66vWJmBYmeWUUCAIhAN/a1iidOoNI3UnnJZZUPKzupli1OUpFQqPQVaj0atqj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlkkfCRA9TVsSAnZWagAArg8P/i92EeXXRkqe09MDFwzU\nkAtLQ21owMyiBJkbK/sXS0Kd8X/qbTcdZXvsEWtIhC5X9WpmPZf2+p55cjQJ\nwvnpPKsMmsVX6vqJnAYk5MQ1oE7x6hu20ZNsfc9ykaD00GmLGTTuGabxrpW9\ni1pd93WK9eamJv26z5SNILXIiejTUa3/tO2IlyuaNi2XOARM/TpTnKjmA8r2\nn1dGH0uiLkk2XhT4vAHlBVMY2I1yZyEA4PwgQz1N7YjCuYRUIRl5O8byLXHR\nq1CgM7c9oQlyNcG1KwGCi8x+ucdZI/c074cAgmryBROrIw8a2fGda8kgHwBF\nfBHQ7FA/2f+kR0l4cIlGbc3RE6eyG74IFRV4NsVNB9OSfti6OUYLb/JzphQd\nPjGVcO7ABV61LyK8+A7D6Q4AgHtgQ7oN5w4CNmZA9t9iWCBmfBSoW7vzON7k\nFMxAGje2eU6d6SdpSq0EAngUbJhxZsCOMQ/TaZvEADOs6b+a8Wk7ju+sxscK\nmvQ/Ybz07cXNI/9pXFvS1QXLWlLPsI9JP/rdhxxSNXX8wkUDQLk+DfA8DxIb\n8+9iWHDYtr/rc7O31hkhCYx5g0gvFGXGk5GlN1fYaT57dZWfuuB1dZLQ4hux\nZQytaSo/Bb51v5ccsPJt1iyEvjXfuFATElysbc8SJe665gwabf8euKMjwb5O\nOrmo\r\n=uzlF\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"161611f36f8a13e3914a087c628141d8eebde2fe","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.6.0","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^2.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.8","react":"16.10.1","eslint":"6.5.1","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.2","@babel/core":"7.6.2","lint-staged":"9.4.1","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.2","docz-theme-default":"1.2.0","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.10.1","all-contributors-cli":"6.9.1","eslint-config-prettier":"6.3.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_2.0.2_1570130207014_0.7197149298896166","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@testing-library/react-hooks","version":"2.0.3","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@2.0.3","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"305a6c76facb5fa1d185792b9eb11b1ca1b63fb7","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-2.0.3.tgz","fileCount":5,"integrity":"sha512-adm+7b1gcysGka8VuYq/ObBrIBJTT9QmCEIqPpuxozWFfVDgxSbzBGc44ia/WYLGVt2dqFIOc6/DmAmu/pa0gQ==","signatures":[{"sig":"MEYCIQC2RfKeDrj+f+am1kE8z2r3kDy/KrwCG7ZaP6xmHk3IRgIhALitXsUAjDPDA9lMIFdeeWhsOkCbaCBCH6m8yvsfrMIa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlk2QCRA9TVsSAnZWagAA+VYP/0mljhnUZWJa0GRI2JrJ\nWm0SiligYjXKr1jr8UUdKuCdAwqlP09HWOnAJwyIlfYZkZothuMFjEI2YiZd\n0OY8bL8L7fnt5IrVCoxeiMBKusIqHLgjOy4Rse5O2DPw2l4dyejUfH23M70W\npFw44dd/VjvQN/rwWI5xXjMzOCJ5u9DwB2qcZOPHijpbu7cgVJLqnyni2aUS\nwPKkMl+ilTdeZjzx+P1AQ3A9HOjRdZ5M9HYij+9T2eWmqfzXJrugoEnsuW+t\nqIuoxByxsOaMe/KLvuBqZvNKgmQ1YKAs3t+3peHM63NH49vHB4fm8VQN+830\ni/FiK8ZPSSlJBXBJiJ1h/AZf4YogCIfpoFvqUqGiClB2dyD7BJ17UggqJ1UU\nSC6VlistfEgbPhwFrgZt7/e38V8iIza3WoirJaPI5fsXmkh62Z5EOcR3CSUT\n8Df0TIIWnZzhQa+C9RAkAMGssV+8DZ1V+4q6f7PgX8dgprm6u6E3Amio6szh\n9DS/5t/m1BettGHHzimtzCSuSN36drrRLbYlbfKkWlVOL7gkQDd3X0eNQUG2\nyCX1IkA8wkU1afH1wn1l5CNtANeusatceE7xrJuBGrlD9AcFf98leCxLVzHV\ndmmWgPK+fqkvi7SH38D5PI1byjgtztidoI7OsPxwVptfZvhlKk/Pc1OJ4wkW\nIhSu\r\n=ygHl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"b708a38a2f7f77d4f31321fbb3bc95aa34e6c1b3","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.9.0","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.6.0","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^2.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.8","react":"16.10.1","eslint":"6.5.1","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.2","@babel/core":"7.6.2","lint-staged":"9.4.1","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.2","docz-theme-default":"1.2.0","@babel/preset-react":"7.0.0","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.10.1","all-contributors-cli":"6.9.1","eslint-config-prettier":"6.3.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_2.0.3_1570131344078_0.24179081877658137","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@testing-library/react-hooks","version":"3.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.0.0","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"ceffe5e3e0543ca74b5489cb25dbc80af3215870","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.0.0.tgz","fileCount":7,"integrity":"sha512-WH1QVygUjUCk5ov9FHtvyvjO5YbFdi3+UqYm59e/mA+Rc/1PBVzK5aiUe6dXWdBS0znlnLhtrS/ebzKroXIRbg==","signatures":[{"sig":"MEUCIQCzR3T0UcNHbiXIJGj1FpkoCY3rQc2uC7ugk1rrtNFPtQIgWmRtaf06aIrbpCq/O1bTCey3D2+Q3jGgAPvUEMkP5RA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp49KCRA9TVsSAnZWagAAG3EP/3aXFce5I7zYmr6FfimB\nV+RfSvejhuJmtF8IXKnHYD0D3wxWFR1ZCKQVEX3ndlQr9LsNGj6clt79ZWF+\n/v8qYu3b96fGXS94q10WjohcEkoQ8E735Fq4ScvOpZ1WEsSuxb0A9TQpAFVl\nu1MDwv1RbIRYNMz6xpI3Bd+dLXGIu0oXqEDd4cvjmbo9KpTvCKqvvFL7qEZO\nE2iGjLCXHmeXmb2Sp4zxH216ZDkrwC1KTzxty7Q00XlgOy83mMrqBDuM38Tj\nIoEZZ8KQwvWoy5B8yoAuqSmm/P5FZ5ltfNswV9l9NenoctF11Mb9PM8ApTAl\nWIuke5WQRGRUZu9mG7XFMdu+ynrxtERGc2holX/KLpMrvej+vToMEfFykBQs\nFctweg1avlY7MPgfiD0CGb5B169ZjcTrseZLp928dqdgSDo3lF4O2Ig64EoB\nzfYKxt+kwvYo/rbv9oNZMbXUjmg0MfdouO9/YkPSuQPUkvVbiBD442xRpvsy\njTmRgyPnQe229B7PsQghpwsLSQVKTl5Q+8AYZpddA9grPCLEIMDKzsqtGTOW\nOC9f0VPPD9+MmQ3ixcspLbHX11E8X3Bov5DROKkJ85zx+90oJ+3yIYwS9kEY\nkhgGM6Z6gpRjw01I2A3evMNoNhcsZUtE0EdpMzkcrEDUTadWrXw378K4RyWU\nbeXb\r\n=meyw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"016e960dea0488d83ce141ab045a2c2166854840","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.11.3","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.11.1","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^2.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.9","react":"16.10.2","eslint":"6.5.1","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.4","@babel/core":"7.6.4","lint-staged":"9.4.2","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.3","docz-theme-default":"1.2.0","@babel/preset-react":"7.6.3","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.10.2","all-contributors-cli":"6.9.1","eslint-config-prettier":"6.4.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.0.0_1571262281381_0.9547530756616516","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@testing-library/react-hooks","version":"3.1.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.1.0","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"f186c4f3b32db153d30d646faacb043ef4089807","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.1.0.tgz","fileCount":7,"integrity":"sha512-mwFDHXCQiyr0tQkYU4VkcwlCzR5YQ5k1/TCrL3hPslCM5MvS6pBhbl2z4UnCMV4DOyiUUXIvoMAf5kHT/hibTg==","signatures":[{"sig":"MEUCIQC9bNmVjbVIbx8KPXJ3k8x1Nq5wej/93SL3TpxGDn7zhwIgWdAbjfFl0eTg3M3v1eSEEyDpltf7dKfJOXXSOicxQKc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqAG6CRA9TVsSAnZWagAASE4P/0wusHVf5cN4y4Ute4JR\nC6/yXqljks1aMLcOA2Qrtj3fqBbobhQXkXbesUiA8giRfxalK8HlGDMY58ps\nO5pA3hqvAZQT/wndsSN/wK2gVz9174Q4Xww5YjPaEo9KQUm3URxemkdZaw1x\neMtO5HtRUbfY/Vyv5RIwgGriPcr68zE052X/FOBuz2YMkI/7AViMZ0T3R6Zu\nGgxwG7AdjQlSaUlGesO7cILJ39p1EJDbIAyvyWsQoIxQX6+MzywpJh7H+Tyq\nkuCZ/5ufU4cqshELvrAI7ApnecV6xxf2ZiFfJJECpO7fAlKBS1iIUzeXoZiP\niji7JIU5OKk/Q1ht9T/wG2/9IauPN1hYKPz2w5kwKMCyFTyl7PpniM+6Q3xe\nXDnQ1+tnmx7TenLdtmmtkONA01nLBxqDT1iTQNaUg5ajeuMPWI7j3kllZa1m\nglNKK8txRuUNWNx/C0Q6JYIoP9S0uFibyC3CuQUIDjF5icxXjk/RqYACJPep\nggvTe2SmLvDiPq6RLatL6NiN/FGi/Voin6dcSxSW6pLWYRX0fTZEULckmTAX\npmz1z0QBvR956yIGohImclPuocsLSast6PQi5zUj/vfbD2DFNWICYecO9pGc\nfttH/7cXbsaoHcLhOSdIKCl2v9EZEtAbNHtea02CBdYwiQ/1QH+7cmyqBFLx\n7e4m\r\n=WJTU\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"a63b6f98d9ecd5eca24709aa4eb303dc72e0cd5c","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.11.3","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.11.1","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^2.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.9","react":"16.10.2","eslint":"6.5.1","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.4","@babel/core":"7.6.4","lint-staged":"9.4.2","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.3","docz-theme-default":"1.2.0","@babel/preset-react":"7.6.3","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.10.2","all-contributors-cli":"6.9.1","eslint-config-prettier":"6.4.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.1.0_1571291577934_0.8321009188135673","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"@testing-library/react-hooks","version":"3.1.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.1.1","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"5c93e463c0252bea6ac237ec8d9c982c27d67208","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.1.1.tgz","fileCount":8,"integrity":"sha512-HANnmA68/i6RwZn9j7pcbAg438PoDToftRQ1CH0j893WuQGtENFm57GKTagtmXXDN5gKh3rVbN1GH6HDvHbk6A==","signatures":[{"sig":"MEQCIBWgW6mu8V9W0xNFOxuHpZn5aBmIndJpx653h09rNMHeAiBtvRmUM6XEbkrH7deFtj/itVNTzpmFl46f6wLNJtb2Og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtWmpCRA9TVsSAnZWagAAHvEP/R1ESBv/uD3xHtSrGLkG\nMpo/pCZMFYi1P8aCtBu+eVoAHyNWje4g8hN3T91XxoAALbncVjltDGmGNlka\ng3dxiDua/6NeslBGwr5sQr76nHTo2FP8qUM0+yD1dSScOGZWT+fcGwAbia24\n16Ep3GLJ9dQoFzXn+repRJVeJkRiFsblw+cYg6wAySKREhebGX8ydSre9dDs\nQOHc3cKOERBFWMBJwHvs3DAFaEsoVcL8mWeUE+oloSulW0H5Fl7+WflhXKol\nnVFtOfswT+i9doFLkeBdS5F2qJTdlAF54CglXnqhRx5QgUJeNYJEa9VUohns\nNDBKKs/xSKL0HMdgsqr6118TC+XMUi0tAv4l1znn62XCphL8Mdb5wfutB0hD\nDMBn+usYq1/FMwxYuwHTsbwJ6557LOH8mf/FNf1HmyHP3olDDMBAMn0+DCNl\ng6mwJ5njQmyR2JKQozfWJLirYKfdFAFEnKbOY2RpDlK1ZgezdwSaCdJdQCsa\nRiZZeGUcyune5AaSBZTU90tPw05ogjf2/bUkP1phUdSaxRSndd2czeGQ/K4y\nvRUL+/BEgxqG9WvyceVvp6ro4qoj9gI7yMf/n5MzaubFMUKs7FiKLku4XKZJ\nv+JR2BCv4KYQQBJXPgwYetxo19V7ZYWIkOwAzWhKTLU7H6lSSbGMYB/9xBTZ\ncvH9\r\n=EMl8\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"6dd17c2f6748ef150c9eea46851575db49938f78","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.11.3","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.11.1","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^2.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.9","react":"16.11.0","eslint":"6.6.0","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.4","@babel/core":"7.6.4","lint-staged":"9.4.2","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.3","docz-theme-default":"1.2.0","@babel/preset-react":"7.6.3","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.11.0","all-contributors-cli":"6.9.3","eslint-config-prettier":"6.5.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.1.1_1572170153461_0.6103798782904197","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@testing-library/react-hooks","version":"3.2.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.2.0","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"50648acd60a5a67ade5c8c99681db8d3f75ffe69","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.2.0.tgz","fileCount":14,"integrity":"sha512-rTz3y1DEMr4zyClG2SlDZuINMGStlWV6BmLJrIBLiEemoKYuWTZhOZHqemcZpMYFA2lFF6uI/JHYaIpNn+yJ7A==","signatures":[{"sig":"MEQCIAZFinWobPQrR1sDnWHaWJ/eXuyq83Ga2nrCs4HBv91mAiAfDOMf/7PAHAVZnn6GwLtQjfjFMR84XBFBYgoRZ3o5og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwUe8CRA9TVsSAnZWagAAnMkQAJjMAYrc+3jJJuaVyE4V\n9IYaKyXa9TXSYifWNypeHLL8WWA58BLP3d7GIbmVqJMAuoHX243FYTAvbVqa\nobiIK2jX3wnkXC4vV4Sv99a96Xq3ez3FI7gevot4ueGgeMrf/GTAFlnxp9CU\nofPoo3bXOzvZjuUPyLwLqR5BinwFPs7n/sLWW8RwCK5OYdaTu7DI4v9K7CaQ\nyYyV6S48lUQbbSdsGz0KgwOWzkjRsjvS43299rwnDKRLyo+77LB395EyVc8G\ngCXbUg04pPzg1lUphjyyGBsaK6bwIwYSqEoA60lY/YP/lwMIO+6bBcRZflin\nmq3g08eEeVfNnOIih1rFrRqKYNTh7q2R5YT3vF9HBtule7uQdfza77XMBU8J\nY1/FYWTo5UqVwaWfHQxZhTf2RXagU2bJh9Ed6CYcXnDlHVhk7LWJ3k+9mebN\n3DpqCpabCPvWCYs3tmBMqboVdQ5YRHDQ351qac5w9b1jX7JEg/8qMhtJ/HYF\n5v2iiq2c6fWibxSdSSzlNbogQFAgBc+vLlT0kBbYATNjYZ0v0dntm8DUqsEK\nUOzKqGtrVvIiVwKHGr8ADlRi/7oWBVwUwc6ZzsWwxZeg7g/04DDZZ6GAFvPn\n8n3Y4AKHcipjjENv/0iaieqEvUbIiEEcyZhCyj7yZkb+TZs5G0AVOQSMQotI\nz/NC\r\n=/ona\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"67f391cc00de629e935d8d4f0fa80be82f1e4d26","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.11.3","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.11.1","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^3.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.9","react":"16.11.0","eslint":"6.6.0","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.4","@babel/core":"7.6.4","lint-staged":"9.4.2","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.3","docz-theme-default":"1.2.0","@babel/preset-react":"7.6.3","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.11.0","all-contributors-cli":"6.9.3","eslint-config-prettier":"6.5.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.2.0_1572947899887_0.6579158019548581","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@testing-library/react-hooks","version":"3.2.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.2.1","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"19b6caa048ef15faa69d439c469033873ea01294","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.2.1.tgz","fileCount":15,"integrity":"sha512-1OB6Ksvlk6BCJA1xpj8/WWz0XVd1qRcgqdaFAq+xeC6l61Ucj0P6QpA5u+Db/x9gU4DCX8ziR5b66Mlfg0M2RA==","signatures":[{"sig":"MEQCIFSE/6gBpAYm4MKbA3ibXERd7qZyNSuamkGYyFTZgkHXAiAhvYU363/sduHUekL4N7ZgYrbxc9KdvFAMynfBvwyN1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwUpmCRA9TVsSAnZWagAAREkP/imkYXpghQnyoFj6p2kL\novaHp0tkoQE4nzX8/LiO8xy9clCuUMbkrhru9vuk1Qlo6tKpmq0OrPl9B7/7\n8CVWMiRSxFJogUysWFiCpDFK7btrXRJFonuTE39C5I7qUPngz+kBB+ByT5lA\nxgg2tPMtrTTD82kP2cf4fbCzaQoV4SxuaHGRNEKcEJSIp32GZ5UhgPIc4CGK\nX3947ywg44h8l7/iF7iCKLvNmpRfb+K0hqeueSBvWSoa/xTmsB1BrwoU8b35\nKlshZUQA6zaJGUYZ9Gmgt5l0NCkZc2HXzV6ngSWikvr3aDFEASv42bJRPDCi\nD3noXNdFFn2/MBq54OgazYTqZ3xR5kaippbvOb96RtLWIKzw3h/EzcnkgnHc\nzlc5RMUYEf3c81eHaCTNqZ4qUKp9VK1kKir4dJMxGP7xQdnrWQrlDKqQcrK4\n6qMyzN6NxxZ9ptfbUEGZsgPHYFtd/wmae34Upa7A3ayhzYp/oul9m21t7jq5\nv9fsnSnwrpzMSbXdnk6T0Lj7CEJxpBNjzd7kC+uLCoS4d/F7qT4nhH2hocBZ\nfGnQNK09nmOJX58V50V2vufeItfRYUsblwG8qJdaBaI9gKNgO/0KjRFJAePf\nC0Cm+PNFuzASWylKhPp/GzLWoiMhyMl84VoLBPAUTGtAHIvWEDN5vgrFHdUM\nNJ87\r\n=nIGK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"b8760597c5da7d0ea327e27cb71e0e88ed6dc955","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.11.3","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write","git add"]},"_nodeVersion":"12.11.1","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^3.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"1.3.2","jest":"24.9.0","husky":"3.0.9","react":"16.11.0","eslint":"6.6.0","codecov":"3.6.1","prettier":"1.18.2","@babel/cli":"7.6.4","@babel/core":"7.6.4","lint-staged":"9.4.2","babel-eslint":"10.0.3","prettier-eslint":"9.0.0","@babel/preset-env":"7.6.3","docz-theme-default":"1.2.0","@babel/preset-react":"7.6.3","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.11.0","all-contributors-cli":"6.9.3","eslint-config-prettier":"6.5.0","eslint-plugin-prettier":"3.1.1","babel-plugin-module-resolver":"3.2.0","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-proposal-object-rest-spread":"7.6.2"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.2.1_1572948581616_0.8965796518880089","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@testing-library/react-hooks","version":"3.3.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.3.0","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"kent@doddsfamily.us"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"kent+testing-library@doddsfamily.us"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"dc217bfce8e7c34a99c811d73d23feef957b7c1d","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.3.0.tgz","fileCount":15,"integrity":"sha512-rE9geI1+HJ6jqXkzzJ6abREbeud6bLF8OmF+Vyc7gBoPwZAEVBYjbC1up5nNoVfYBhO5HUwdD4u9mTehAUeiyw==","signatures":[{"sig":"MEUCIQDDsCvgROqtxkXfsjh+txX6SbejntDzyWc09n5QySzuEQIgHluyC7X2eyLt5LYVNHQDfpDj4+T4ywii8jFTDQ7RdFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2XppCRA9TVsSAnZWagAAhlsP/3ug9InA+VQ3s1Hk1+NO\nmXP1QYRCVxC/OlXadcM29PNCGAVpsJi0x3BVgPEwMznhjM+5Ac1MGTedAbpY\n0rcaCjcGXhYPgdAKfakoMgn80cpkFdsC36WjVN/Xc+8KRLSLmOibff6nsCuq\nCsiRazwWdaMAjv0XNfPZ8zo6s3cWjVTEjRhbn7WwKd2ZTNtWUvorJTJbgK74\nYbxMMtFC8SzJchFsN3HRNV0nwyAfiYXY90YLQTc1XV2aEfIlHBLfAfqMCp7d\nqmzSFdJXEMVei9S6WaHUWFCTyDAe5U7oTa8/bwmIYIfhCDeMhKhjJ6nler1q\n7JdDtqF3Dol44wj+DcLxkTXqeChWfDkkPyHtg/HFwU5iIonn04FbJy7uF3L6\ndIqfSZ+Ezast7l/J9d0599lZJsAzllFywgNuJuDPXVy+pJVgt4L+xvxsSZ6J\nwTYBa5fZKZVwpeKyRAhrRHU2CPTUXE8pSSYMPSLvLmqTuMINPkypn2NoyKzo\nYnFck8R/ZcCaSjQyI9h5HnYEaEApW4e2kbP3DBdvSixJMMVM2KmGMps4Uifz\nUg6ivY++wgzO/HYGorbWeel+KrP6naBFR9Cwu6mnCyvWjVkdeRtO7ZW5UFrG\n9VyRavqzkxXX7EqztFJvpe+WI9xFX17yD+xjDJdiNCVCrjWXGsR01GXyXpcy\neK3U\r\n=M+0f\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"bf9406a7d900a1b39018cd0b0a28d9f743534b90","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.13.4","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write"]},"_nodeVersion":"13.6.0","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^3.0.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","jest":"26.0.1","husky":"4.2.5","react":"16.13.1","eslint":"7.1.0","codecov":"3.7.0","prettier":"2.0.5","@babel/cli":"7.10.1","@babel/core":"7.10.2","lint-staged":"10.2.9","babel-eslint":"10.1.0","prettier-eslint":"10.1.1","@babel/preset-env":"7.10.2","docz-theme-default":"1.2.0","@babel/preset-react":"7.10.1","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.13.1","all-contributors-cli":"6.15.0","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.3","babel-plugin-module-resolver":"4.0.0","@babel/plugin-transform-runtime":"7.10.1","@babel/plugin-transform-modules-commonjs":"7.10.1","@babel/plugin-proposal-object-rest-spread":"7.10.1"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.3.0_1591310950127_0.318767850251638","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"@testing-library/react-hooks","version":"3.4.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.4.0","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"me+testing-library@kentcdodds.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"1a328b7adb4bc8f52bca732daff27a4fe07cd266","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.4.0.tgz","fileCount":26,"integrity":"sha512-HRm9plhic0BIdB7hddrku5gRLOfQvvNvXiTHWpXt7l9h58eFf3ahmgKbmtFDEic+jlT+d5ndmaufvB05Ipz/gQ==","signatures":[{"sig":"MEUCIQCTFC6Ldu/Pzlqcr07jmg/XOVEwol9eI8cXiP+mEw2tJQIgP6GYjO5oyrnN6AnWJxIeiNh6oNTgU0jflGE4rdOSE8k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGV2CCRA9TVsSAnZWagAAFa4QAIvsmj16v8soneI1a351\nhk1wSL9wQdZvMwePWLF0c4B05hdfY6stsQL9PZduYRsmTtAUlaTGd2k8Z8LL\nN25CKR8eQ5ZZryGorRVej7eOPmSewINr45eDxSnaER8Yd8OTVIyai4GuXcb7\na2c25SG9wQG+cl6nvV6BCVAKDWudpi9q9T4SbLNZj+eJDyCdkjASX2U4AJBM\nwvcJu2yEDvJDCVsGSZDm6fyf6u5zQqJtaOFQ2MyJ+8e456zT2AluXl1+0bdr\nwj3VWUVFm6G8HHb7zCEoamejO+I9dySsZ14xrJGE8L8X9xbKj/FJIpPKIUCq\n+Lk2Z+D8y+R7OIyYp63ZUon/DX6YQ1azQuB9hrppZXiYnuameyXntbdp4NJP\nHgAAwMej/GefVzluCcDOVCmsvzkeDai0wFqu8b5qzaHCI8L0tsKuZ0Yfdss9\nqn8I53bLrVwcM/64bi4ATRhxo6FOHe7FWSZTnwUj9FNXLb/UpHYqiE7LdFLc\nuTIAWJPo7QG35Ndt6DqkbD86pS9YXaAhPLksp8KExoOdulXRxltxXnfZ3c7z\niX9Gf8isqX3HjED3d7lYI5p6paSMR/T0h93jaN4+MXK0M1dYMT5nieyF1Z09\nEbQFJMkAvuQO9vQGSImQg82wjdtkH0OWkYU1Ws8lVf4fEpr2Fm6mivWPsRtu\n7GwC\r\n=LZbE\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"f1779f87b558af371ac92397be5140898a629e81","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true,"trailingComma":"none"},"deprecated":"Do not use this version, it was not published correctly","repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.13.4","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write"]},"_nodeVersion":"13.6.0","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^3.3.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","jest":"26.1.0","husky":"4.2.5","react":"16.13.1","eslint":"7.5.0","codecov":"3.7.2","prettier":"2.0.5","@babel/cli":"7.10.5","@babel/core":"7.10.5","lint-staged":"10.2.11","babel-eslint":"10.1.0","prettier-eslint":"11.0.0","@babel/preset-env":"7.10.4","docz-theme-default":"1.2.0","@babel/preset-react":"7.10.4","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.13.1","all-contributors-cli":"6.16.1","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","babel-plugin-module-resolver":"4.0.0","@babel/plugin-transform-runtime":"7.10.5","@babel/plugin-transform-modules-commonjs":"7.10.4","@babel/plugin-proposal-object-rest-spread":"7.10.4"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.4.0_1595497858122_0.043791041224493066","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"@testing-library/react-hooks","version":"3.4.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.4.1","maintainers":[{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"testing-library-bot","email":"me+testing-library@kentcdodds.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"1f8ccd21208086ec228d9743fe40b69d0efcd7e5","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.4.1.tgz","fileCount":15,"integrity":"sha512-LbzvE7oKsVzuW1cxA/aOeNgeVvmHWG2p/WSzalIGyWuqZT3jVcNDT5KPEwy36sUYWde0Qsh32xqIUFXukeywXg==","signatures":[{"sig":"MEYCIQCdH9//jsuOgS1f+/4EeXnwYRk7ngRtZS3TFi7agXAT0QIhALERxuxn+H73TwU3HZr12iswdAEbycj9X4XEI5KZUgpx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGV5rCRA9TVsSAnZWagAASK8P/2GaEH1IIV4pSIU1Ga+q\n9GkjOtPKMiD9bfMDXf7TjFZXeBc+bBv9P1IhcxCt7b1CSMlYxxs2ne+t5v0x\nkf13rydTf7qNUew3pJtpDXIqUDmHGsIt4fu8a/TnshRAKFejpiOuj58/hhtH\noeMH96XvHQ6QSYeSGy4hViYvrhEQkVdnHR2KwVukRTK/e1yo4HYKcbHUZzDu\nIs2V6aM9Tn8t1ybaWjpXYBLHcVtS2kpcFddht7Ln/XePebjklph4lFVtPkP+\n3oq3KiAt4iCqHa/28GJei88YH1JkhlswrJCdwpCt15eKE7ivV5rQYIOVSDnn\noln+0DT+dpcMwWicPJGGGCUuoSQ9uxDiOPCJVi8zhnTWvG/xScZpFJDJXVDE\nss0Vxv9maep7MX6j3XZ3zZePr3vx7270V+VXAAfeyaJyc2fJd6xQ2KbK5qzJ\n3DKQl/qXgLURwwo4iHIkMRXUcqbiiUifSJtKCTatQmLVODU/Q0MvL92lbSUm\n42tqS19fJdI5/ptR3BktGsugZJPqYBucwAWfPIYe7lFC4tWAzNacGYafLWJR\nrvVfMJQ+S22ZrL8AVWwQu7MCbdr2Ww5WVRmQ4WWsR1suFv9CHOyUInnDXnl0\nj4inDGm8FqT5GTWfJYxnB86PdXSu3eXs/6mYcnfYRaTfFKirtOPrtTXikv0j\nz1cx\r\n=Auj8\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"c075dd33c621a5bb7db231522f50a7a286db72ce","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.13.4","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write"]},"_nodeVersion":"13.6.0","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^3.3.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","jest":"26.1.0","husky":"4.2.5","react":"16.13.1","eslint":"7.5.0","codecov":"3.7.2","prettier":"2.0.5","@babel/cli":"7.10.5","@babel/core":"7.10.5","lint-staged":"10.2.11","babel-eslint":"10.1.0","prettier-eslint":"11.0.0","@babel/preset-env":"7.10.4","docz-theme-default":"1.2.0","@babel/preset-react":"7.10.4","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.13.1","all-contributors-cli":"6.16.1","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","babel-plugin-module-resolver":"4.0.0","@babel/plugin-transform-runtime":"7.10.5","@babel/plugin-transform-modules-commonjs":"7.10.4","@babel/plugin-proposal-object-rest-spread":"7.10.4"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.4.1_1595498091185_0.1291158475339611","host":"s3://npm-registry-packages"}},"3.4.2":{"name":"@testing-library/react-hooks","version":"3.4.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.4.2","maintainers":[{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"8deb94f7684e0d896edd84a4c90e5b79a0810bc2","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.4.2.tgz","fileCount":15,"integrity":"sha512-RfPG0ckOzUIVeIqlOc1YztKgFW+ON8Y5xaSPbiBkfj9nMkkiLhLeBXT5icfPX65oJV/zCZu4z8EVnUc6GY9C5A==","signatures":[{"sig":"MEUCICecz9OREU6aSWnvtBmqRFbK42g5OQFYBLCbD54SJ+eVAiEA6Hkr6X2nYfuFNc3WjT4S3nXdYHApJdV0tM/qvPFJPOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfccfgCRA9TVsSAnZWagAAt8IP/0JVe+2VCn3AxqpHTwOP\nXxSjRrozfXYZc0RbVZz/ghibHxrvYmwYxiV1lho1RsUac8f8zO1anDr4ej8Z\nlWHNyKtejNPhBmVwj2k5ncv45xQgNsCQkdvFL2oAvMcWX5NZuyoroz1iMtcz\nSa5tggljWMfbl6DGSW81ks3H7JZHeXrQe7M1E+dM3Yims8YZ8BibmGTmVPWf\nFchsdkAByTFr3ow0ftZRnqlrNCgqypazJo3xrltyvF6sBqr7/f3ygLLYPT20\nJOEkoWn7CCEwD8TJ3eHzNLZz9xHMhKQM8yaO62ILDHQbaq7ppa/o1L0ITnLE\nhQDwb6Mu99+bo//feE3mf61vTuErW0V9dTmrF39Q4SXeXbnfPTOgS75X3hKD\nrhj9ULqOx0XOMsXRYBms1SsdSFp7U7oRmiBTyAY7cZsrzl7JDEu6AeksPju3\npKI9XZ8GH0MsZ+vmeTBY5znzdjZuyx1c7E8BAVorjaIXjPDmodUXPJlE8hzk\nMQ3Xcj6EyqLt9l2X7vf4qYk5wWHK0NqJDBx/14NuxUZKhySpzgI6xOjCuK51\nzKSF8dfG7zRAtY1kQzdfRrVwqVd/O65vgEsxOenvGJr3L7HT5Bu7CSnfcKwW\nr//guW8ZSW6S/is59og3BaKmGqrvesz6IYGtKQTsgw+wS2Dja/jxvwn6icXr\nRs8r\r\n=nthi\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/","collectCoverageFrom":["**/src/**"]},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"90b8c5ca0cbfcf9d1c02898fd88a8765521a138e","scripts":{"test":"jest","build":"babel --out-dir lib src","format":"prettier-eslint --write \"**/*.{js,ts,json,yml,md,mdx}\"","prepare":"npm run build","test:ci":"npm run test && npm run coverage","coverage":"codecov","docs:dev":"docz dev","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"mpeyper","email":"mpeyper7@gmail.com"},"prettier":{"semi":false,"proseWrap":"always","printWidth":100,"arrowParens":"always","singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.6","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"lint-staged":{"*.{js,ts,json,yml,md,mdx}":["prettier-eslint --write"]},"_nodeVersion":"12.18.3","dependencies":{"@babel/runtime":"^7.5.4","@types/testing-library__react-hooks":"^3.4.0"},"eslintConfig":{"parser":"babel-eslint","extends":["plugin:prettier/recommended"]},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","jest":"26.4.2","husky":"4.3.0","react":"16.13.1","eslint":"7.10.0","codecov":"3.7.2","prettier":"2.1.2","@babel/cli":"7.11.6","@babel/core":"7.11.6","lint-staged":"10.4.0","babel-eslint":"10.1.0","prettier-eslint":"11.0.0","@babel/preset-env":"7.11.5","docz-theme-default":"1.2.0","@babel/preset-react":"7.10.4","prettier-eslint-cli":"5.0.0","react-test-renderer":"16.13.1","all-contributors-cli":"6.17.4","eslint-config-prettier":"6.12.0","eslint-plugin-prettier":"3.1.4","babel-plugin-module-resolver":"4.0.0","@babel/plugin-transform-runtime":"7.11.5","@babel/plugin-transform-modules-commonjs":"7.10.4","@babel/plugin-proposal-object-rest-spread":"7.11.0"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.4.2_1601292255978_0.08877886697710213","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@testing-library/react-hooks","version":"3.5.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.5.0","maintainers":[{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"8d728f2d56d615935116385f3ff9335e3402e46b","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.5.0.tgz","fileCount":16,"integrity":"sha512-PpztMzQ+h8hXwd9TtSx6H+D5sKv7sW0sRr0dOW3x9O5yNOHlg5Yi4uCMhYBuGYAHM7XJyceb+u4D3CgT8LotKg==","signatures":[{"sig":"MEUCIQDPzZQua2VHozP61QRyqYVH1dMSvZiUVHC8yBQK5T5OUwIgRc5Xik4zLO41xL0F+OYyT1WWJ4g1eN6A9IXVL+OfHRs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzMTVCRA9TVsSAnZWagAAakEP/Rc+bqN8zMa/x1JoekzR\nKmplEOX8f4d3bBORY/mFK3t54gc/i/6gcYNlXUDBOQ+OOjKyK8EeNJ9MHH8D\nXgr/FzqLVdosUpWtOCRdTyQ0I9vqJh6bOhQfwUsf5MkMa66n22mo1GAmDiWb\nwTGkx2rXysIRzWkQIo4lTWjlVJ4ZXRgRmV91I0uY03MjpSfln6ysbD/Dkr3a\nuh26iOUuIFDOv+XODnP2D0YT0Y14PRTDaFNBUdHbB1xz8lELXQYZ52gg6eyS\nRxChciq1j9WstE8mUx9vA+YbH/pu9Fgxa/vBOybAMtTfmzKGSCybjUfaQAYn\nUBDEzStoUhCOdfU1FQwOe28VRc64l6iV9kn+uL42rB2A4DqfyY9qmeI0ps+i\nm9jJDZrGQOiEArTQ2wXrK+z/MWL6W0bizmNRl934HKp/EsGy97IAnYnpkPOZ\nJgkQMk9HFaWGfDt3harXWmJS2vnGvU+PMQerbGqQAg3gGIK2/Cxo+OD50xWh\n3ZM+ZXY+wJ37sUkoHl/vNM7ocyVGz98Is0rXi7PpPSLHZ+cF6iUP7LXBt3Do\nFtEhPT2goMe6wR4/TQsWdS4Fe8bxEh0d0ac/DYpnXXjy9CWjhZKmtWQJy5HK\n+hf1jX0x16lpuLNoPICcsJEoVJV1uYvxvQV0J664YSpgbsevXQDhrJLcnjV+\noI/k\r\n=TurF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"9f43b0a7a000045f2685ef3c29da495e11740e34","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@babel/runtime":"^7.12.5","@types/testing-library__react-hooks":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","codecov":"3.8.1","docz-utils":"2.3.0","typescript":"4.1.2","kcd-scripts":"7.5.1","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.5.0_1607255253319_0.8091746334366392","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"@testing-library/react-hooks","version":"3.6.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.6.0","maintainers":[{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"37e595eb1111e71b39ef0597b390850b9af3660d","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.6.0.tgz","fileCount":16,"integrity":"sha512-7TbqFN4CqEmfR6bC50XOtXbM3A5sizzEOmcH7IBVdm0oFnqmlkPTnu4sMt9BfepsYDvVpF8Y2CaoMJlfmyLYuQ==","signatures":[{"sig":"MEUCICpwZI0TPMtxLfgsWgxWtrynk5GreCc/PWoP8XawYCZ1AiEAoA2pil2YtAND1ly18GwAlJL9hIDSiCqpJkig6QDscBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzgBHCRA9TVsSAnZWagAAw28P/iLFdlZao/MX0uncFgx3\niW9DHvyBYDLo/crtPFNK/JEcHUWG822bDpByUxGTnS4eCdCAI6r9ML39R5pi\nqq83Fl5wlPE2g0BbDxJWVwe1jrIt3b+s1ooYOCKSoLVv8B4maP8Hp8Jl9n0g\nPWX0NIPyC7LAevFGD5mlBdsK1qXoTkgimx+WbA+yOZF6XhHNNM2wAVj5+YCG\nJ8SIjM6zVx50up6E36CLrlAjhwpFYSgECux83LQViEkbdG5DgpFagG67hS2H\nWZ6SDSSDE+GBK0aMN3/ST7/8tAcr4Yp1hXoaVYA1pmM3BIsc4nLu6nrn9Bku\nSoPmzKbvV9UhsEQPewQplNMBmzZGxH+GRzVDkTOwOJCsOTy+srODkJll3O2V\nY9DKPFua547BsPy/7vxJsFWKKrKzHoVZVmF45UBg3dlACSKYsCJy56QBT96B\nt2RBBzHyA/Y6C6eprxTd4p1LxkXYrH4IcJUGnQz/CiGXdpxBSpKMjZWLSdZ5\n7BTMhYF6m+dhvv7yta8CjiCSBvhReXryFWbY6Kosa3XuLydz6YM6dREg71FB\ntuLy/sbOV5nk+N8YTDaZVPpWjHQgr/q97hVEqdwOOHVP1xzoHBPJmfqzUgB5\nI+ihwINRaYe58nqpSNaMdjSD2d1dxbRdIAedf7K3OnrKkjJFGVmDekXMwyjb\npBop\r\n=uFIX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"78d228c994bdf2f65551bf5a4043ed5921fa5bec","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@babel/runtime":"^7.12.5","@types/testing-library__react-hooks":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","codecov":"3.8.1","docz-utils":"2.3.0","typescript":"4.1.2","kcd-scripts":"7.5.1","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.6.0_1607336006895_0.8330409739455333","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"@testing-library/react-hooks","version":"3.7.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@3.7.0","maintainers":[{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"6d75c5255ef49bce39b6465bf6b49e2dac84919e","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.7.0.tgz","fileCount":14,"integrity":"sha512-TwfbY6BWtWIHitjT05sbllyLIProcysC0dF0q1bbDa7OHLC6A6rJOYJwZ13hzfz3O4RtOuInmprBozJRyyo7/g==","signatures":[{"sig":"MEUCIQDyqQrf7z81o5KnQbCj5mmIoHskPwlTKk5db6klKTgjiwIgdqiN16SzMLL+qhp7Af0GZQNXj2/Ik7NCb6gD18huZK4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz0biCRA9TVsSAnZWagAAlG8P/1pKPUZYE+vBSbFtkEG7\nmbN2JfUBcf3xUaB25I2JGrytpbpqlIVi85uUCZkr2pD6/l3lLBWeFHiHltrA\ng0bLUQJdSwW8oFV6pHvPFptJFpcUlhkn9thW8klaRJPYDHiwWBNgI6DWSqDM\nLs5Xo8ZL94qEmeOfI5WMSSVQ22niKOn3/Z5OsCyU4ERPbiBuzxF597NZXHym\nOjl1SCGTbWd2Bex+x6YaHpEpuuE8te7k2mPsZFjgn8EAi3W6gy5cIdmWzH+z\nzDYlphHUtf80bVW9FQBxhEFRihR+9GZMqOUEu147bj+7KFC6+WqObfjAF0Vn\n7PDJUqxkiJxax4kpo1uvQ0aODzbO6EdOTAczaHRFOYGhIN4rAl5RQNLBewYo\nbty5RD7ltIxM1xY4tWtvOszVkaO67lrGbu1g+DPvBxdPbYcsg3aL7XgDOtQz\n1IJTXzIpJalm14Zw8Ty5NfcE1fPVCWfYJO/u0r97YtoOJYcJofh6DdLFmXqV\n8uiGuV+0qTXlbgS4eMi8xjZ8QbLpUBVXEhl5cZKjNqkshKZ06CRqXqpZn+6l\n54pBr6V1zP3nUHuqQKRLnflDzAY+WAMrBaoTe9AlrLGbNLRoVZq+y+VNtiWF\nmousLx4bVw5isbkbXwJF6zcoigd6tIsct6nBcXJvRObqeuwduPRsfbU4onzm\nIuny\r\n=3cTi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"c53b56b62302698c5c7b57a402b8b7ef1aa41c41","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@babel/runtime":"^7.12.5","@types/testing-library__react-hooks":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.15.0","codecov":"3.8.1","docz-utils":"2.3.0","typescript":"4.1.2","kcd-scripts":"7.5.2","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_3.7.0_1607419618252_0.25809532720864126","host":"s3://npm-registry-packages"}},"4.0.0-beta.1":{"name":"@testing-library/react-hooks","version":"4.0.0-beta.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@4.0.0-beta.1","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"3dba8931f4956ce1ff54d2b8936507e8ef683221","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-4.0.0-beta.1.tgz","fileCount":18,"integrity":"sha512-1wKzhpDe/HfP9PBWgX+ORZNYpBmXvrIF1wRQtzG/9NuRQnNLIgO0F0gx9gKB5em5LsldFYoajVLYut0cHh8dRg==","signatures":[{"sig":"MEUCIQDJ0AHNE8ZTG7gJSu0JO0844dQP52nQ8WUK3pId2IsxdQIgS1VWX6+WNlsFyfrKynndbj3Qo3/cJyb/5SbaRqAoBr8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2C7QCRA9TVsSAnZWagAAFLcP+gJfIAUugY4S7459sen7\n7N9aBoe0iYRPjUyc7g+7kiN2SQ/VOCbqa6YVcWgfINRxPZhrdbOS2H/5c25K\nyMzGBqaQ4b5Uvu9RmukmG82CiIY2SQH2xbLgoQC/0NzEQMlggAq/xsMIJ1pa\nJ/5sFPjRGx5lWY1Hqai3fmsR6REdBNApiwH863wTDzm1xFEsS0yzIolR/1B/\n6nNGoQD4GsVwRHS5dQssphHb6WpZBZaEFpYRAXrg35fDA2irOVoJuyUTLOkZ\nwGB7m8jsZMVL3iFHTs1O6RcC9Fm/NqlXvR7Utq/6IyX2NF7fJohjVjMJXBg7\nQleXd0+Y+Jk2W0P0Tvk37OeVoHW4ZIHvDBZR2EQGGXWNjZ9dnfQ1mFbNzHAC\nV+4upjwJT67AlpFqfsh5C6Z5X3g2NQtV53dJvdCCVvWfzeLZ89iqtCzBbtlj\nbyK5sJ/66JE9qUKsvVgD7deJZ5Ok36nFLtTCznluKZAagzcB30yoftV/l75x\nNvq1GCRq5clELh/GyvqzbVvjzzdnHjWOBXs6bSdrGlcKSTELZKqpFzuWxEWs\n9pazZDdp6VjGlxnoU3o2PWiUDDAoqlnUV2dLuKsu0HuMu3p6qas7ikhwtanh\nVXUVAgAn5Zmp4HKwAmybeNspWZzbuXS0gxHPf90w2ziMK1xhA0aJkGqL8wli\nvFDV\r\n=sPVP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-13-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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"#design-mpeyper\" title=\"Design\">🎨</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#platform-mpeyper\" title=\"Packaging/porting to new platform\">📦</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a> <a href=\"#tool-mpeyper\" title=\"Tools\">🔧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"251ea7048ed385fd2b20b4ac2eec28e5dacf1bce","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.15.0","codecov":"3.8.1","prettier":"^2.2.1","docz-utils":"2.3.0","typescript":"4.1.2","kcd-scripts":"7.5.2","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_4.0.0-beta.1_1608003279854_0.22154980813776248","host":"s3://npm-registry-packages"}},"4.0.0-beta.2":{"name":"@testing-library/react-hooks","version":"4.0.0-beta.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@4.0.0-beta.2","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"bbe816fae0b39bda834f7c04b566fc17295839a9","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-4.0.0-beta.2.tgz","fileCount":18,"integrity":"sha512-K2R/p+MyUttymYj7niz2rmDHcfmnpKwi+9dFCxfFCKc9ft1xCq/LniRkL7su6SvSPDcTyHlkfJ+JpWVwB+5rLw==","signatures":[{"sig":"MEUCIQDiKRpxOEsQ/Px4Joyov0oo8x1Gm0T/2ptH0rME9RJNbQIgJidF1ZkVriHWZ04NvBtznauaPsFaF5gHwyvn1+WdpwQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4zGNCRA9TVsSAnZWagAA8gMP/0+um6kJn5CRsVEeM2FY\n0AgSI2wSeFT1vgMNQvyUH1iT1FxGGu7823Cybifu/ZqWZ2KzfqQyuO8w4i3c\nndgh0XV9/tZVnUg/0v5LRAKbk5iKVPo5FzRGm4DgxmOrrz6JMaJKfiN1hBQ1\naUTGrXx2T0dyoe6usswRkOMcCHiaAwPNis+0q8OPHSvKHtYjIiegiwMn7UJX\nICkhfr25guNbMpdJDA870KdOO8hwCfVXNbgoKIvD9ft8fyNhE+quyUzKlA2w\nkIuQYx+trT2DDixyYgH9WxmgAwdYkWFf7xCa7LYYZ6ON2/M7DUZImuYo16N9\npRWUu6imNV//lENsOCjj7Xii/rGefAagHQls35dknJ4DBTF+KbCVFweGe4B0\n9FwPMkbm196PzdnaegRNP/gBcDfaUHHOyEJ13QFww/Cy8cv9PoI4oERc+LEb\nmEqdsJ36xnLg6w7+QKdjqK2NXLWj4F8fm8PuGwwjWb1K2XYSUusyx+pZUaL7\nFvLfn1qYFdmO7rssLE3ZeRjduwQOJlLM9SELkO2/I6ceLwVx0xesyNu1t4uN\n5BBkY3u8+8ySauK77o3oqBWyBdzbIAGQm446z6//fIpb7T7iKFjz7eczHidF\nxWPyyrqViejmWpPAiOo0jN48V+r5/t9uuNhgCAx8cKgO1oMKmXyNMKe3GtUa\nUZd4\r\n=jQlv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-13-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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"#design-mpeyper\" title=\"Design\">🎨</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#platform-mpeyper\" title=\"Packaging/porting to new platform\">📦</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a> <a href=\"#tool-mpeyper\" title=\"Tools\">🔧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"2bd722296a13fdce2be60d93109c1e3267837fd3","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.15.0","codecov":"3.8.1","prettier":"^2.2.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_4.0.0-beta.2_1608724876891_0.05721859022187181","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@testing-library/react-hooks","version":"4.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@4.0.0","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"5bb4caa5814690cfc3e385ffaaf2ca4d54a8d08e","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-4.0.0.tgz","fileCount":18,"integrity":"sha512-AWIR4M1Fz4dYzuKytkWtabcrwpevq7zj9dImuBOcmrpl3VkjOBDa7Q/62fwK/M30ae5XI25mDSpQ29vzC7A5Lw==","signatures":[{"sig":"MEYCIQDszaTokiI+RmICLJPoBDqfHgzEIMXM00UZA/5M5B4ayAIhAMfmMl8fjAC+QAPBb9SQ+FJ6tFP6K1L6DaxMo5Jd432n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9oXbCRA9TVsSAnZWagAArE4QAJ5jeeJ+rjKnEIe/tz98\n0Wvn+RMGlO3q1Kf/B7Vl5uuptfjQktOU2QSMsQm5a9/CJsc9SefBomhdZzCV\nbQBhg1tawxRgdre7UdsFHjd1/aP9pMFNajWHg0puUfijgPZKJsQ3dgOICkRz\nSNI8u7SA8BmZrFFPDEEL5anJDxjp/tgZXpzELEIW0wnw2mgbFnkFfSe30ZGz\nBhWoJ0r5/CzgbNjtKKCyO4oo/wwuOPCiqjqUtYLU4yQBxpK180Fzk2lBEcTu\nM6W6BvmJYHYpMlq33T6j661KjbfyG22PINF/+4cztEN3JUHZyXZGUFEEQwkW\nk6jAWiC523VR6OpHscpWd9zi46oS+JL8KJtbjV3GBAIK4lbprC4qUg/WfW2b\nY+Pg7vCHqZ+McqRUfyLBnJp+WnR/RF4cCTmAoYkMBu5IlP4CC4kBy9f+BrH5\n2EUxxSWCsGcT2VnWtqeYN4ENnO/q8BnUcqaQ3GqveDIkJFyCltOahqWQS6Z6\n41nAxlheEu+bnE1M49S7UdxP2Yh4XIr6uqKzm8YOevDiXptI2CSHA0lZ0WiZ\nH7BZhtJj7ipQ+2/HWhdnJNWrdR4saKDzmx0vGB1zWEkynJn1Sre2EpHM6c84\nvopMXM3etR4yVvn+JyHGB6lXMT4G+LUw+6LfqHJvz9jQNuEeHfkkA2uSkSZK\nayPc\r\n=MXcl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"19708331f7f10e71fcc7887c7df739d1672dfb40","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.15.0","codecov":"3.8.1","prettier":"^2.2.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_4.0.0_1609991643337_0.9398408296991758","host":"s3://npm-registry-packages"}},"4.0.0-beta.3":{"name":"@testing-library/react-hooks","version":"4.0.0-beta.3","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@4.0.0-beta.3","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"3c683e0ecd950d07a6d7f6ca630053759a0ec989","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-4.0.0-beta.3.tgz","fileCount":70,"integrity":"sha512-4KDN43S74nsEHlfreNLHYKWfhfkKiXu4NqpffYi2P6CNaAFGAvManeTsT5deN46SWQi+WE70aRLmP3LTtdfJZA==","signatures":[{"sig":"MEUCIQDMFL8ikttaju/eQXdVtXzrOnDG8ksK7RbqQVPL224NxgIgCjyiX3CtVEuyv9AjFofvLmTL/+VCu6EvXJxLMpdV+I8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9siKCRA9TVsSAnZWagAA3eoP+gM+wfHADkcRlirqO7ZB\ndlWOJ2g+ZB+PaFwPDDQ3WhK14iIi3Mmt8qj1OO1I9lCMUhWuXsUGZf52p8Nh\n0QmYMKIZLGzRMed8K/Zmcglr2V9ckTGyPA1H38zioucolOswz5mHVRSohI7X\nUtDeYleM41PtrInzjBYcoWo66MDsjvWryym8FZNOejOPm02E5binNYGWnndP\nmQ9uFwYMdiI/PBWnX+BvLR00hzn7g7JXKSPoPO1VSgaW1yn/35knbF3LlnEv\nicVWVo2kr3zKFv6myDNwsfznBuV24cSEIjaeHNnHTjHh5bSxRvfZlhNOMDKz\niMASvN3JuycE/d/EyQ97fuxcWUTK6stjKf3btysp8T2pmC4ACr+hq8X1QQtx\nWj/P0Eqs5sfO7gmSGsUqwAkUIhdjs9JnDBVffJ6IFgxuSiBqEK6INFMj60OL\npc/vTqEl9KiF4zutMqC2DnALwyXMhcXLz1U/ekn4nw/++NPwxidUgbDiUhQx\nsFDyfiO0E91kPo1ig/bv9nNJ2I/P+vExBqSvTkuskEmutXiSGFSzV5pFyHDN\nRM6DYYK5PobxNb0AGPUbgeT1L/C8qA7EeURCtUfuHoqdNN5eUXE3r/xsm0Uu\nHpY8tGYkiVL44b3FV2OoBaEcr7+EHdP0eBi23xTHNpl2dBmxS0V0zTS63NGY\nbPf4\r\n=B8yi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"de58cb0a990ffab55d1ed326270c0bf0118d222e","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.15.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_4.0.0-beta.3_1610008714175_0.1941823581783526","host":"s3://npm-registry-packages"}},"5.0.0-beta.1":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.1","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"e76a02a2d7123942fed275a7292fdb8472fd6032","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.1.tgz","fileCount":70,"integrity":"sha512-uYTX/ZfSa0MswEyNzyGQH4jcPmbFoW5LVpfaDDWLu4ILtTUPZiNXelyotLu7U62uPqDzG3nfsfMAsfQTdXTq+Q==","signatures":[{"sig":"MEYCIQDxw1zPOvlLXUdlWXnW0JM1V+9+b3lKk/OFv5LazoP0+gIhAN7CcuIJa+xADjPZIQ2i0h2yfalE7/Ke5BWWYPyOEfJk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9tlRCRA9TVsSAnZWagAAxSoP/2g9kLc5bzpwxDIiPahr\n6rlpigXuZn7E8Ncfp4DMcCrrcv4jPupchEvpWVTZVZvIZQOM309CEqVWVpyO\nFhQSeLKXnAiW+8kVv7qOyFDdrZ+SMJmbNSXoM633rkxkSe1IN3wnDme8r4OQ\n8xIrzsFMkQdNVAylU0MzX2QUPL9HBbant9eUsDg6dCOUTqpnHSIyM7EGRLMH\nhqw4LjJ7zwWDf3svSyQOwX2W8+Qz5jhsZqoIXfO1AsuAG8hWjuTGwBfi2oZ+\nJ5c/SwaKbWEAVlyFrHfa1e2PppUYC2b1JDSBtKbUsyZhFi/gfcdhYnujKD8D\n4erG2UyKonLkscft5bYwiNmx9XuH3xN1KNkAofR2L//FlCRa0gJy2eL7pdCg\nsnimAyrrp3v1jQ9OTFXYrt4AU/uGWzOw9UZdKTjjp4pZlo/b+bU/p6DfJuOi\niv+JXOVRCdvaF3sMAdkpJqLFpVH0eQQ8RLV5HukaGy7aoUYG/QEBpV0dev9c\ng/rDSxjOQDQM3yvYXHrHA1ldPZUBpsnHAlZ7dqQARuFkNc0r6onAdbHLoDXL\nDi2FxFfFNofj+cFF6TiCuQP6+btfwcEzR3g8oGX5M1R9S1vHZz1jU09nkVSX\n4CTVm7WgHsBilwjzuOKc29zGurUo89mNB2MKVBiMLRJlvOqI9jii1+x49lh/\nfXuV\r\n=rIk3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"a25993fe1c08fea92b6d7a90666fc8c1c94b9855","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.1_1610013009530_0.1311101941576287","host":"s3://npm-registry-packages"}},"5.0.0-beta.2":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.2","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"39bb000d4f65a5b5cceed732692677db348d7cc3","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.2.tgz","fileCount":70,"integrity":"sha512-7Y2FWqeBKv0wOHW45biRFK4H4Vs8djBfSMZxlqcUspe7iQ9T13x6jbdbVLehkfFtIEJWFaQQoPi6r8OEmyWpHw==","signatures":[{"sig":"MEUCIH3c0BCLLYJjz4dzK9XPXdotKmGR8cDLqBugD2B0r5YcAiEAu1nBAgZ7iHcq7YAxTGZ/xR/+CavfEygiA6j3q9Pbmho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9uhWCRA9TVsSAnZWagAA2YEP/3/aOUXJPU9f4DAkuPkE\nMieYRv3x4Tbihx+WpUEnMQoD34L1Zuu08neQXPH4YB8QaSy3boojG6yTpROD\neYAvK12C2kGsiG6SKDfo5+4ggjmQEL7fMM2F1r+4to8ktNZqLrd4h0Hc25qF\nhBMZvzySyRyBtoHTVl3mf3j5W1uSYQhhjKNU89CnnrZIut+/DWvQkfME/ro2\n1HelV2jC2JZrMXtdQQDxk5wlaW1qm/j7pCQd+MfKTWAywEQJZTzX5SLNoEhX\nEh4C8hLCNTraEZMK3xu9NgPLfqa4BITajZJ+NhwksxR7YCE7zTR83wIG8v97\nw2UC2NYHxxJ/Lcr2F6g2AMI4sqIZ74DC8NZx6a/SbFG3RhWLxhbl5XNhHmVW\nvOZSQnrkZSAgCgIiOQXZwm9IRo20BgZmdaYevPvwF5hrsazGXjReWf8FvtAi\nZXRPhO+dXmUgB6ULP2LTZHXbMO0dcgYKaqSHbQTGjLeF4/EBS19EOsMAjpG1\nUD4ZBRNH1+IYTLbUG11EtYorh8lhed1voqs8ppaFqwFwXYyTPA/Ht9Rsi59m\nKUbtAW0VLcIfL3n5uhRsBMCm25I058teTLBspH8svhu2IvDgv3BKMERJsmSm\njoroXNbxFf8bcjTCzj7S/w32ECb72nP1SncqL6HiVdfFvpCebNBrPZwExdX7\nBSyA\r\n=mKdX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"a3fd0e2d483e05dc55fdf471c87b7b1a520283d4","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.2_1610016854113_0.7548758435889644","host":"s3://npm-registry-packages"}},"5.0.0-beta.3":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.3","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.3","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"314c642c0c8fbb720f82eff860e89de2807964ff","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.3.tgz","fileCount":70,"integrity":"sha512-rsJ/rvFBTBdyyLMQ0Mg+U+gPFKD+fIvCMKXzRHAP4gSPfYXIst5V5WAnAr6FK8NKFL2JDUeXcgGnlIXOjnw/zw==","signatures":[{"sig":"MEUCIQDsv55TXwV5BHVBVXdlzg8zu+dcNuWZrjzrB2ahYGSD6wIgJaKBNORWpgosQS1Dzn5La6y74lMpIAI9N4+JQ7S2imo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9urtCRA9TVsSAnZWagAA6jEP/jdyrwzRKmOMc0r7Gtfa\n864ndQhH5C83h0I31rKNjU0BEaQomJoviN4NywjksZIZvQavMAaizgr/d21k\n+3cXE/2ZpXA4NWvXNieKH0/KBqWSWQGBwJwbksTPhbmGVoJNiGwf4Uuyj7xE\nItf1WGUAtPfPbZGNunDoHNW+Lz9jXq1GpCoqPLhGUxKW2F27zJ8BzxWweJXM\n8BLwkOHJ98RLW5Pu0gaunA0OStBqzLmAulvusuAVm+gibkltLNWCKTmiFuQP\n5/tvqjn4Q7nB5RN0kdb8NmfvWnYyXKVvr1cVOUroleZv4QCrA+syP1hbyVzB\nt3bCx6Y7tXNVRwKLF4BBRlS5vt/ymJbWmmZ7jY/S5FxeK4gSCoRQjuzDbnjz\nyCDM8DlfxgM2RazI2PqIVK+0lx3S8NCe+UwsQ4qj6CP5diGKXL8le76CUHv2\njuYzHibwcgg+W+tvxDcKsh3C388FkuVvNzO/IcotsEJM4rhNXInGKo04T12A\nXyqXp82Xkbx7PUro4CArl9I7bvaoAJ+umaW0idGMbebAlvlJfTBAjBIZtqdQ\nGe2c0TRpdDTsa9fUdYV//zJUv9agu93Ev8ktsgPNX5lwba4L/FqNGs/OwNqC\ndFfFub21qN5fTG40mLPkJtwWUaAoCEitt4khi88BdfHqzTh6omGhBo+A33J0\nfqe8\r\n=aURJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"f6096badb8219ce9d06ddab13425329d3c2af07e","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.3_1610017517013_0.10649277700116655","host":"s3://npm-registry-packages"}},"5.0.0-beta.4":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.4","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.4","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"2f0226093da2a4d9d72f949b0a39686bdc95bf67","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.4.tgz","fileCount":70,"integrity":"sha512-iU7GtMz8hxKe6No0mw6SiiGFngDNp8PRazOitdxea3Bv0Ao3SNPOwSIqhH9PJejZ64lSJAo+dZ2zTWw5HQ4nYA==","signatures":[{"sig":"MEUCIQDMHcTPlw5FT3WqPHutP2/M6hSRgzdTR2Fwsm/K83FVxwIgR8UIQpjuUWNOoHcKf6MzFqEmtx5IUbqAh2yko8rQQ/Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+CXqCRA9TVsSAnZWagAAQJwP/36MUNdHeos1AsmTpdac\nkySKyc6uzl8fXcWEcaKi0TRtukl1pCxjgukyB0WKB2A4Ur7DAXQsNIBPsJQz\nudyi39B7CkY4BZuQkzk7MsZ3PtNHw2XiuP1VD0OoV78E2J+SVMFYfYrHwj4r\nvRJnzkoyz4pFey6qXCaTDyuHCXVtbPnkSa4mmW9WmnqBBnZRt0Ha6ObhtqDV\nvwgDmFCzgxmrmNfrJlaoJlENZQQHN70FAeMFaqlMruj5e6O4Ahzhz/1Ks+4q\n1yHymEH3GSFeWk7FIauTuD5KLIfhbz5Pm78d9rglTNfIhboInpWw5uLSUO7k\nuy3e5xOGMRzFV7RADgOSMQ/mc/kPPjbbUd9LcjfGEVdlpbxM8/2AvDzacWm5\n2OASBekoyoWoO3G3RsJ4h+VRM2Wdm340By4GVRFLlQIc/rrMP7XGwnupHvN9\nmYkiuSVF4nv7k9PKWwDbiKu7rSA7DjzYMg6rZrOkvOjPYtGAFKXOEtXNpSQX\neufqGWosGB2KY7AWUHWysR3kf6NGoJxQqxSh0yBuck9esp/4Q7l2huInDe90\nqsAMmwzSfuwAasI0PmK2itb1L7QgaE2+E+K56n18+5+B16ihPUoMfRMqTQnU\nsk9e7MS5HamKmxiy/6axelJV6IQ00ANOffak0gy4/DywG0BUMHVhz6FtazmA\nCYxJ\r\n=ePCn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"4786242a9a22c6f235f537d26b9990c2bec4b24d","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.4_1610098154465_0.9920984924257816","host":"s3://npm-registry-packages"}},"5.0.0-beta.5":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.5","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.5","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"7bef700c4e004428836abc6f7c1d3c4161ed26d4","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.5.tgz","fileCount":70,"integrity":"sha512-UZY5aABUcpKPZGQhKz2bkoRfAuQlIH1jmED8x1M9FzS3yeG9L2HExht65KhJdnezW8M8o3si63uoPPmF9z6WfQ==","signatures":[{"sig":"MEYCIQCQIjjo84zrplxMDucd8VtxgpUKR5j2WgS+TjD8SLLJxwIhAOCbEAyae7/LXLMS8oy4p5k7UXS2ZAa50fAj/v2rkGIU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+E13CRA9TVsSAnZWagAAf5YP/RaugfsoRnQVQllclEkt\nut7rag144MCif69/GRF7aNKp5orLnWagg4uS4Gsw+lMtoCHBi5h5BeoveBbm\n2yjBYzGcKfQEMLKsN4EfgGr2yXOiWppHUj4oFKiBW0MyB20ZiH98vqehjFll\n/6WYNUYr2Hmh+7EAd6cawJgL3n11KtQvJKfKR/qb1F22O/n4kHBvKZEgeziB\nxi+NrsJGINEnhK74nG+TpYd0gdiqkYcr/Mv2pRMVK2l5lQnL4MILq7myDTn9\nuvqXIIpONAvOvv2I+33Np7YPhH/CWgy8OADcKL0c0v1TiUd0gdOPVe5N8fk3\n0Vdu6eUTew9j6CqaULXovjeKIGD2KYDYI+qS8KWvm3VeRR5YKG+oTHcvHW2e\nskcmHKZMpGYPEpzCnOXC9VlQQQcPsy5oXguPSJ/14ZT2xT7x6kbDL54lGtFb\nhs8PTcYDHfg1QPivyuiFmzCWRraWRJLwpIanGJ21Ha/7U0/c9xZo35ERyBQy\nbUZqhM24HAjEpDf8SqiPR2Cl4MtW13kH2mPlrkjJo5HgSKNEErf5WbQPUKWU\nw8uYf8uoISyOPFVas1H+RdBnyU1Q/RAkiXTq4ghGb+zdqEENfDXD4+mar0bm\nxwU69MSxLPgdcv+dhroYhBTJuLkRqfO+qkwvPlitew/nhman+dH3Bpl4Jakk\n0rux\r\n=7mJ8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"a82d5ef31779bf1112a951909dfb09328e48581b","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.5_1610108278801_0.19692469591007566","host":"s3://npm-registry-packages"}},"5.0.0-beta.6":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.6","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.6","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"9c6e9da7e7881ddf4c780ecd118899d676b321ba","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.6.tgz","fileCount":70,"integrity":"sha512-q0CS7mwojiGvW4KondVuWmqM1pUN1eC4S5Lc2FuVdLNA/znMqgHqCp6nJ1FmOUO96jQe4r+aPGymRmzysb2QWQ==","signatures":[{"sig":"MEYCIQD2iSpJcqtv6NZKbcr4f4TijIRkNclQ9iQobOnfOd4bDgIhALqZjcwf/JEWBPt9Lna9VHxvEBS2OX5nTB7Y1ZgVdw8m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+gxgCRA9TVsSAnZWagAArV4P/0f24GEozVIaz3zpjogp\nQsbuduFrIXopELs841GkBMUJqiPLwX6xA2/wnqhdM8dlla+1Cg63XscPMkYH\nADrwtryW1R/s+UN3qaqbYqIqwPPWwDcm8H7TzBk+vMVGSl/hIXbQ5ARlxrNn\nWWzquz37L1xyNgzl9bYcU0F25K+gIl7B1vHKWNkhUmQYoAjEFw0gH2Yl6skO\nIfeSgHgJHwqLyslemc/nHmvJWnOnQjtF70ZKzweUtBQJOMnEceiABcGu1KkS\n+jEnGAAUl2NIKW3tokLEZi7fNN4yzk6XnfPONNohsVbCmP49aPMEiM0UWpTI\nYf7DGkpC+FnA49ghC2s80PKiS9BSR9CCEUSu2V2lklU30Dy+x0GEuIaiwzUW\n4pKsJyPdQ9LxbjWW1Dk6d5EUJ6vhDVGUG9ba05Nv+lX6wnUlMqPjGhtqS1u+\n8hknzXGwDJqTKhfCMJxCts1vFA8RFjsH81QshdWvRx3u2eeHtc/RzUypvUnE\nz89JZfNgzJtOOOqEOzk2Bkc5lNH59ZNXn5uf/dimUFhqlxDGWFX7nPODisLa\nibZUD1igdfKPI4YQ8DqdVMm6VzCa8EXlX1mloBKpb/yjXtyRzzrQWkmaeMfd\nHkgJyIy9vxVmT9m3fZDotC2IKRRAnOm1hpdL7aUYlfnifGV494DB0RC0wODx\nL6uI\r\n=3Nlx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"3813b88a8a779a2deb61f2de3abe97e79dada52a","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.6_1610222688250_0.5683553087115354","host":"s3://npm-registry-packages"}},"5.0.0-beta.7":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.7","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.7","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"12df7b9b5f2414fc930aa03bb1462937919fddab","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.7.tgz","fileCount":70,"integrity":"sha512-TcB6e7miTcxj4b+BHr4TzOjv2I2YctGZ3E56+6EWdnj30G4C5laIyB7wx5yas4ypAv6u1apXMqpnDnEUuSg+7g==","signatures":[{"sig":"MEUCIQCu9NNdy8fLTCwHUT0nFhmQo5nbqBNGbnDegnXw9/o6RgIgHHS73cefm6w9M8cOFoap3t7pra5gGeVHMwb03a10004=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+tNnCRA9TVsSAnZWagAAy40QAJWyYVQMpW8tFfdqZdpo\nXVPu3lrk1zJQfIS+d+/EgZfeIuL88WXeEhh5B//dP77R4EaAbfSEkxGIXiff\no3UsxeGzO7FNiZgCfaiGp7d2eVr2AQQ9iZryi9FB4SCl4vabI+LtykIdI0Uo\niT9f57lJNLCxmaEUVpBsZxiQ/HPalMYLgN9VQh4lQn+rIyw6wOYMaL9uN4IG\nzVtNrfn4s/OP0UnTtZu27nSLDFAlgSJImWdc3CcbvbaIuw0JrqqayNrjzeZh\n/hfnhpYYrfi/N7PLJTKodlTFYr8clNY0AiKGc158VLLC4Mhbl67J5bh6jzIz\nUhv4ObZyWYFFExEE/0hSsKtUIQSzxsdoD29z0fjmhiuzDSeU9ebf/olHRumP\nWjQuxSBmHeCr0p9P0XoJIsi+qjjM0H9JfmS+vBpwvdxh68Tm055PFOiLjwZN\nxdzCSlaW1FDWQsU75ZBnXiQEb+enODpxEwTIP+FTKJmQE8EPYReRKjf5gIxM\nVcrfoIejpiJdCrGaDTH6j63b0eo2mPJg+rkYa8CfTCiCwTgC4DnWhHOqfDpw\nrM68w/8tlpTsmkKigC710Gs3PW8RlbuquPeJbllzPBpoNd1cwMR7PpfHEi5T\n4mL0y9jyr2ypjMO2uYTVDkq384kl2+l1PzJgoBtG2imAX2rXKuEsQeopvMDq\nkGSC\r\n=0tmo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"ca32bce8ef67104a1424093f8d40f539800a1eea","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.3","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.7_1610273639139_0.5654481013612895","host":"s3://npm-registry-packages"}},"5.0.0-beta.8":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.8","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.8","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"3aaa3fc2f1416db5cf7433bfbec2f348ce0db067","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.8.tgz","fileCount":112,"integrity":"sha512-4iiw80bYB2jHLPIt8c8J8ured4F3bhiqNpq8c/9MT3EuYpa6/sR/GY+1IByqeuGr3t4VgI5snkrptod76iIVuQ==","signatures":[{"sig":"MEUCIQCbP6G6DUub+K92sGzJCMBwVWn0w/humRzyxx0Bg5SViwIgCQNDVaSmeJt/4ALAdUEGVkyhw52vJhbPi7uXsOZ1OFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/CS/CRA9TVsSAnZWagAAKH4P/0NyW79Y1seWVEk2P9EU\nJ0zAl059HmpQadxojtfQP4CEVe1n5r5ocZhMHybV0Kz4aiwriBaZwaFlVlbU\nFEy6UTwftCdnIGoXSlOtH4KnW69O5KDaIZqaLIjZfQuKU4ClIB7eptsPB3/B\nkJWmZMCQMgsQXjcd3cN+OK3IzTNtGSMy46hfptpqTQHQDOn7fYrlyMvE2qnb\n1MoS8BAk57bFxOvZ49k8pNFiUNknGU6mEPcTYWAHWlYXKHrBaTw8P7oFxj3S\noCGEei5Pwld26G00Doaem53PJd1IaxXs2Mq93xwjL1eR/j5ThzTcEnXzG96n\nC3d+m0X5G/upi8A5CsW5cU0BDnj5JyvDxbhUuub5xGh1MLruLlWYtFWPP9lA\nzDwyXQf5A4Of6pdeq+gaWSgNxtPQjpEm5bRR/L2dNOihhgI4KX/mgcNSOcoX\nw4bRgGJA7xqX6+2iVeYxBJY7ZvEE/VWfzjD4jad6dWOm5dDLqc+TA/s7kPf/\n9QVffsmLAky6eiEDqqrF3VDWRbWV1phs4oJOq1NmzY/svOwzn830tKfoB3Ko\n46pxGtJE3Esztotgxaha11w/KfJKygqW8NaasdfYx/XMlydJ9JNSPt37dCLE\nu3aZ2Jj6y70p1T1hC3pprQBWRC/PIOKWXhvKzWlmLZNgM9t97u/JfwTE+dB7\ngVFR\r\n=9Y5n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) or\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) to allow you to install\nthe specific version you want to test against. Generally, the installed versions for `react` and\n`react-test-renderer` should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react` and `react-test-renderer` is `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"dc21e5947a54adfaf348bfeaeab56d37a4e7e2bb","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.8_1610359999371_0.44087335949692474","host":"s3://npm-registry-packages"}},"5.0.0-beta.9":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.9","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.9","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"f227f95b67f233b3ec34bfcf76530ebc558516f2","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.9.tgz","fileCount":112,"integrity":"sha512-3ycYgXas6Ghig5uFaE4aNwJYuWW4AKE3LsAbtIjzSOypnX4n1Kg/CItpdyBbQ9yxUD8czqO0/NH7Su73OYF6uw==","signatures":[{"sig":"MEQCIAIOuuB/Aa41XpyD4xiqGZToD9/YstjSxpjU0R72olL/AiA6n/iiVRCYS9oBTgzhqqXo0GVhVtC8rvGOrYqjGDugIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/W38CRA9TVsSAnZWagAAF8IP/1XG5FslQuJF8VJ7s7kP\nSfUIuTu1Oa/rv5mVVr8ARK7yWEjqRGyBwW3uk5MXRPzNJqxwui9+8zcECryr\nauUJ5VP/4fgwULElpV1kstvP+ymheIY3MtYUAZl6KLxnxQquKMQXqy7VQlXs\n4+e5SeaPYN1W8HrCVuS7SFxMNNVyzZE8SWGjBSF6yqZS2KcedUePZGdyF/xa\nNIHJEZBkg73zDXtLny2lcscXVXBA0D7wEonbS4xvYXXqMzHATVdlIILCcn7m\nBDhg5fGgrw2cCY8IUpQJzUbflWq8r8aSoMPR1WKfs0exp6Sxr7CpyHDrO01u\nwIYdrgiC2DAQDs7x5mdyYbN9ovFEY+oskzwh04ktE3VZLPKIEVnKrYNN4F2c\nspHHkehjId/pEpsZ/CBTQym+bJul/HT5NjK5YCDiVe168oQlQxfvDNkL+a4o\nrTrCxRzw0zX0S1bAvejb2QOQNfICVuq15MfFfOqznq3E/ha0aXV7fqh6v44L\n+g5rcW4oWmgrshcNj5Pg+opNjKYX7w08K2jGxbUMRU9IjE4bLcFFpaYolowA\nEQyrTxM0+SEgv7S+pqztL4vFDji4XnnGSVJkxS7uBCPiOEEP87LLfo9sOOJr\n+n+G3fgomxv35LQEcLIcbSPE3qvDh6GFnTgPXVfyG5dgBwDH5rVo4nPaXZid\nFH1u\r\n=ka8h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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\n- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want\nto test against. It also does not come installed with a specific renderer, we currently support\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and\n[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,\nhowever, if you do have both installed, we will use `react-test-renderer` as the default. For more\ninformation see the [installation docs](https://react-hooks-testing-library.com/#installation).\nGenerally, the installed versions for `react` and the selected renderer should have matching\nversions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react`, `react-test-renderer` and `react-dom` is\n> `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"bab38d9c7b7ccd7e9e494ce36f98ed6609278f64","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.9_1610444283796_0.35018081412241187","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@testing-library/react-hooks","version":"4.0.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@4.0.1","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"bb678abb7c766c192da74be50148ad8337a5503f","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-4.0.1.tgz","fileCount":18,"integrity":"sha512-DufI8Q2GOM7W2yFEEfz85VNVNaHZL0tPZyBT6ytV7HK+1A4frL1ty+W5NBE0u0K3EFV/Pg5O28HGNEtp9D5EyA==","signatures":[{"sig":"MEYCIQCKjggduZpUejfOrtUNJn+uQH4Vh0/VHyFIoBdNUzJ4VwIhAKwFMeYf6G25giuALy0wdFuOzjiXNDADcniw0sc/CDlY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/YymCRA9TVsSAnZWagAAV8kQAI0hNVPiRb3A6x6SlaUJ\ndojwhpjyuDLCi93YkTq3b53lDQIKPnobWGCEpdmcIWmoQ2RZ+QKxKKiTIn/6\nx6N7e0XrwAeGk8xfhJPF3bmkhyipKztjY3oBr9yAv2IQA3tpTaGhQZNLXvBe\nCt4M5dCCNGuJ2MKvPN8yh4ZPmYaE1Xvi2KppnHo0wY2MN/p+FXb3EIH5zwn5\nSDfeco54FatuyomvmrtNeMHZnlj8nfOCek59XRVYGiUCmmhAxXQwhN/8dmtX\nFFNVdkabDFp4dzzYelpXN12BBfDoBuJnN8VP5s/CaAKr94KsaVrBtn2gXix8\n5yukMMzPYgU/I4kpLSAcdRYj0qOZeiskY+EwPedZMdkJfucvnRlcmHKeRJxF\nIK2BO4OqGfH21ghOjQUGwL7wpVg9vWiN2A66r6mdzDE3PCYFva/gDIGO+rlR\nuX127jmQtGRNCyrQ/cokzKHvBrhMuBT3XPfXdl7s+FQDVaFE2GV7Y8Jg/i8o\nakeAKqOMXnmF6bwRuGBGN9PvPfjg6rUqwwDnR+cuqwQhggOGcVd0SNIYbN9X\nVZ2eIUnoDroHAqfCElNigp2atcrWt3ByRR8F1C9GFUDH69mIedEYC1bR9Znt\nYgUjx7rbIqEDd2rk3pDThmdwcD18pPvXG2Def27FYKIJ1CLZaQWXtJC6+3b3\nGaz6\r\n=AAkh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"a334f805eae8e98f72f694453ca8f99045c6d78b","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","prettier":"^2.2.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-test-renderer":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_4.0.1_1610452133818_0.09855009926804792","host":"s3://npm-registry-packages"}},"5.0.0-beta.10":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.10","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.10","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"e9246a56ef8fdb146ad9fc4f7becfac97adc262e","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.10.tgz","fileCount":112,"integrity":"sha512-5mZ9UKXsYF7Kq+7Qi0UlhPIYesTaOBdzK0U9ZFwwQf168yzAfe02+giZ27WU/IhGeK47S4cMrm9WObJ2uRaWvQ==","signatures":[{"sig":"MEQCIBU/tS/71Qlj4WLRC9y+/5o7QDerfHgGyufuLnZHhOY9AiBqjRZqsD6PrFS4P7Dxh4IE4nwbAzeNIfFB9CXZC+eJqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/cSiCRA9TVsSAnZWagAAGNEP/AhWcOtpFpm9XOVNHqTv\noHnJWfxTQQ+0Wp45IEkGkJAbbj66fYoTyYlfYTiwD4xtJ0fFT7VagM5FBMnS\n+8uVNwhhyG+3KbTzCk/sr9afs0+wky9Bs2QIbBt08E/2gzGzdzxwnreLUfXd\nfSzoejSdb4meJAFafeMZjud8g2YvV4tJ5UZieHu0m2BGKcEb8F+BUghT8cOb\nkPnXNPtOI07B8KXe4BVE/WBfY06VIwPLsfpECy7Ekz+frk88DEHeJTlBEfSq\nVbM7uiJd5e7rhX40aIFRiiGDEEcEK7Q/bfPe8FNGO8SBn3cvJU41WxxhjmZF\nfT943+ia0uatqN+iq+h07y4Wt11tzmA+JqF5l8oDQQnHQ6ahBlWrD7Gn8afR\nI/i2cDGq1F6Y13ZTjiVS51oUfg3sypLlP/lgm+QTYwKIeQASom49mkB/R7pU\nDHkRXk16JBQYeYAlPV/l/r2xa5XAtS58W/f2jq9ZpWBg7oeCZ1AzLtZhEcX0\nEERPFanuRQ3/obSizBD8PpmfMZ/KqG29UqRWtaIFiNoiHq+sASFvnTf6Yvq8\n67ynm4HVGUsjDTh0k0bqr0BGMoTD/05aI3uqcN2XmWsurIpRVxONbpnzK/s9\n5ISpBHxROJM2avxtRy8mlkVdsP0apZHC2GOHA749MURJTAmzGMjSgZ7JojaV\n5yFI\r\n=pBc8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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\n- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want\nto test against. It also does not come installed with a specific renderer, we currently support\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and\n[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,\nhowever, if you do have both installed, we will use `react-test-renderer` as the default. For more\ninformation see the [installation docs](https://react-hooks-testing-library.com/#installation).\nGenerally, the installed versions for `react` and the selected renderer should have matching\nversions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react`, `react-test-renderer` and `react-dom` is\n> `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"394f65a927d71e9ef9f0b75c79936651c669f666","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.10_1610466465619_0.3004594164766441","host":"s3://npm-registry-packages"}},"5.0.0-beta.11":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.11","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.11","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"1d35335540b0d98c7b34a7e87b540e0d61884e1d","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.11.tgz","fileCount":112,"integrity":"sha512-oSVJZAI7w7k7h3jnC406eUraD6Vq07D7eXY2SnxZQ3M+Zd6wCxIKkxZpjkGGn2HFNfZjI0Fv1DHp65MOcBpSQg==","signatures":[{"sig":"MEUCIQCZ8zoUfc17tILBXtqd37BQGnd/aHX1lunvJEyY/o9/0AIgTYWgVJkcaS/hmcwd6Nym4be1DEQGKmJ2lIJfElJ26BM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/n7rCRA9TVsSAnZWagAA+i8P/R68OBlbhiF5hqzCCiqK\nlMINChdMEMZPWoLdReVpsZiR8YFKxGfAVU1jxok9hhVeBVERUxiXAbLFOIWH\nz+h9KfLoVdz1Dkex0NtP3tQH0BMphP/javP5D8khczpNwY3eKlDPLYHZIcUq\npoxTWaNiykAMPM8DH78ztGACN8cBSfIe77IEf5LLQ+o6q9gdT4ZoigcmBG6i\nPtiwQ9KzB13frDdwASLqa2qxiQOqtGz88M8nZfyg0dCLY4bL+4cUOt7lIrbh\nn8cb5ryEI7yEnFm2pVDtxNfCpZxKPJm6Zh6DDobnZTvowAChuw1MdhIt41PK\nuABE/+WqZ3yNkjbfQ7hHbiBD/YmktOdHR3VDd8shuP0r4wVxTRgxNVuvwvel\nJkkqmbIs0itQIMHSh93t+ZVcKp2l+yhsAqBPQDkxE/TxV5b6ZTDFbYQU5EQJ\nUs4dX1iI/z0PKrH8HNVda3CWA9cUXnD8Da+dpR6Zmybc8E6b2O1NJovlhRJC\n/vgJMqizcOZlaYW1Qg4UOEIVlnCCloPQBie5KYevIKd40xCCZoI4PgceXydZ\nP8TQlm+O9Osj2eR0eWRtCzKDO8hjhKqVkpyy45636SIHiE26SkBGYnRV9m5n\nY0bC0l1fTXalpDPSfef6lrYVVLyJsQPmQ8SQRT/139BQiMjqhPnlQLCBBPz3\nsdQv\r\n=CavU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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\n- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want\nto test against. It also does not come installed with a specific renderer, we currently support\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and\n[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,\nhowever, if you do have both installed, we will use `react-test-renderer` as the default. For more\ninformation see the [installation docs](https://react-hooks-testing-library.com/#installation).\nGenerally, the installed versions for `react` and the selected renderer should have matching\nversions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react`, `react-test-renderer` and `react-dom` is\n> `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jonkoops\"><img src=\"https://avatars2.githubusercontent.com/u/695720?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jon Koops</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jonkoops\" title=\"Code\">💻</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"008077cd132b433318f3af58cad93dec443f2098","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.11_1610514153879_0.2564826355964005","host":"s3://npm-registry-packages"}},"5.0.0-beta.12":{"name":"@testing-library/react-hooks","version":"5.0.0-beta.12","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0-beta.12","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"948b965c9c5e9403e5f4b7aaea5c33cecb545997","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0-beta.12.tgz","fileCount":113,"integrity":"sha512-n14K/nt2QT0Wbza09WmI6KrarHoKfb67rRI+zjfXSF7xLXm9CdOdU9TMEfnN8wejoZ9fnr9FRZche60oJY7ZoA==","signatures":[{"sig":"MEUCIQDnI2q7TkRtygCnL7OUQHbxcXaYkPAv47oxTry8+pqSIQIgOgreZl4wm0gnslWPt/TkyWkokTZ1+XueoJAUbzUrPbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/0CvCRA9TVsSAnZWagAADLsQAJ12xjepqW+xN5Sb2vSJ\n3Bd2q3Vj9D2ljVubxpT8+8Jthxbr9KoyKiz+TkNKuWan3qeEUXxn+vQPszH/\nhXz8Iqac0AR4wJrERedtd0o07iYgeIaYDGsLdj3XUYJrkzcqDPWHzPTxKRR5\ne1TjxMh374zwWM8oOFb2gQ7Csz8dG3BJB/1eDAgYIZNkE+c3+qPm4NZTGgGH\nzpYvbDj+ieSJJeaNBqrOwRFOnYEudIujeeGD4He5a+bsweRpV5vLUIxu4lqq\nTCLyW3sAspAw3tBwilL3ySkyI8YgbREfypGyRbO5ytNrzVyFFELsv/FHG/HT\nFWjMWpsZYKvnCE5xcRMNsHLvFJ6kkk2SGyZwv56pQKo3taFEFL6i2OM0kPWs\nCZTrMFOK1T90yf6scZX7tKkolkhbxTfWuqmvbLQKSYtIXyR17smYPHd4ZOMn\nFLSCGBT8iTgtlwiAGTVC9rvY0Sc9m2V1GRVejfksEOkWF+pMZpjDHu65pFK5\n82qUDdvLTMUSTai79RB2Hu24wd9Hjfbf1VwMyDLhsS8YI5HRXmEqXbjxKeio\n/Vx1xKWBHlWoyGErFvQSNDPyKPIOW7RMNm3PrNCt6U0jVfe4szp+uIYmYN2X\n6S+/9mkmfpL0fdzsukCYW8n34VFQVfuR9bk52fSBJMqO8dgrTY6uzBi6GwKQ\n8h91\r\n=c5Dw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/master/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/master/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/master/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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\n- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want\nto test against. It also does not come installed with a specific renderer, we currently support\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and\n[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,\nhowever, if you do have both installed, we will use `react-test-renderer` as the default. For more\ninformation see the [installation docs](https://react-hooks-testing-library.com/#installation).\nGenerally, the installed versions for `react` and the selected renderer should have matching\nversions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react`, `react-test-renderer` and `react-dom` is\n> `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jonkoops\"><img src=\"https://avatars2.githubusercontent.com/u/695720?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jon Koops</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jonkoops\" title=\"Code\">💻</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/c6JN9fM)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","gitHead":"b81fd04b748071c566ca18bfe02475813dbd2877","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.10","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0-beta.12_1610563758472_0.9174726430329365","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@testing-library/react-hooks","version":"5.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.0","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"994af047a94c7ed04b34920f70b3fd017e9976cd","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.0.tgz","fileCount":113,"integrity":"sha512-c/wvcz/Set+KOvbi07EQO7tujsUIp5HnNAygJoSpMTVkIDcp7JtSemhjRDg1WL6Qsw076inWobTKCepK3mgi8A==","signatures":[{"sig":"MEUCIFW5nrvw4QYcbEU5KXTyHYMtGRCCZY/DhSM8nk4HhulTAiEAyMSKu4fq+2H4nfIk93v9D4434Mm/rDWhzSdKV8KFnjM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/20fCRA9TVsSAnZWagAA3o0P/02OklrPVD6/JN2bVRUx\nW0pRfBLN6ts+t3kPjw/dPJHp9h53oSaOVinFXCNtQUAguAE1gbVT5ubWJBLf\nsQAgY8MPgH4I33WYV143fh2zld6+E8eYDS/df4nrfQFI4Q6iaQi9ET9XfGFh\nNMpS2V00Qel7k6n/wkhWR0DjFQuIcY/ieqjSkzqzh3XMds5B5Rcehry3VNmH\nh7A3MepUmquxBGPD9fqWfJXCEK+cxQuhoHbzk2WrdKbUuY6SHCUrAzXjDqvk\ndIef5tn1Q68TVRq8b1g5D37jZZS9mZBevfase2xMOVg77o1/e+LTLpkY/9mS\nj2zwBdbl+gGdQGkRShgXuk87ByyF8iCbwbsU83roBrqpF5Kh1sOmO1ggq4V7\nuykcyjttt0uO6Gu1kWt39WIyHL8rbW55129wn54uObyl0romIPGmRD2p7Iku\nu1OPiE9Sz7w1nBD7J3f5HsdmuL988DhOQBU7ExF+rjed97QrYXUhpHW8oY+b\n/4rbI76duoMQ74AFKeHqfsrWwj1AZe+NrSZPkTEggD8FfU8ljZlnahOc4nEb\n7HTFGmuQTMy8QtwT8RRHqYMglKvRZjiv5xeCBhincNRPEmqH7kbw+/m0X7WN\nXOIgBkGZZhXmvOE5w6lb3hBywI0qMxaV4kyWfr2ieQZ2MsOrC+Xklu6/EKSD\nuUZA\r\n=J4/7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"b81fd04b748071c566ca18bfe02475813dbd2877","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.10","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.17.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.4","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.0_1610575134840_0.6529795969942667","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"@testing-library/react-hooks","version":"5.0.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.2","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"c3c497a860f6ec4f45779d14ee8f0ea6593caeb6","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.2.tgz","fileCount":132,"integrity":"sha512-Ih/qcjEOVu0XCrWD7p0kI6PCHTv7kQpe1mo027Uxjvbusjde3KK8QosbOwj0pChri90G2x4+WGB8tScX+HlIhg==","signatures":[{"sig":"MEYCIQDBYKPFBzH92htbIVJYg41Xt4KQEXhk3gZA3D3RZZhQ8wIhAMVaotSuuPhKOGIuAEOxqChpGLAs49uL2MukfLysVJ+/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCqVPCRA9TVsSAnZWagAAIqcQAKFK+4ZsWq9cNnpY+vfq\nOmD+GD3207CvwmolrYmA6c4H+8XNAGk3e9B+7jHAAedwyHg+VqPK850CTvFl\nXxSOI9FchhXcpj6rfkEwz3wYdwDCt83S5cSkQxBPe897NTkUV8hF/L6F70hf\nes036/yWED5jrXdvuxhWbXumCfjfICsO33LDo/0lzk/BRX7PpjOVyYLRMnop\nQ/U29z8DdnKeeOQd432fnke2cOva+EpIY7kSh7Bi2dIvdz+uZ+uT/PE1IuEX\nldcN4cgeYzxKbqGRXNbN97x/uCEGwEiey2RSQ/KTnYWhwCYAcWOj4puvtWIA\nCsICmrKshkWZXzWE+R2Mi+SLEY3KpSXPal2O0WP91MA1WhZVASlcsRmVV3na\nehEOiC+pmqkjFTDo5FqwA7ZW3HNc/tmSWmrQK47Jbz6CjZN90U290CKNa9Rp\nQMgtPU4pYV4KcpPDeyVSn02/lJ8TPU19/l2Ge/zK/HTe1hGTVGKu6fjglK7/\n/Ihyf8mWwBHZpKo9wAVAIESwvBa3WbGMaWeSqS1Nlmt/VzthB4RFsDRZGlJW\noNWKJ070wF9WXnKx/sHtaSt0jKB0YKzUd50Tzg+Xf05jz8+v5mttfcsWtVQz\nIWXJISI4ZXvRob77QNIGCvQiejFuNwqz4aKM2bSpZi+C/5cByC00+oUT8GU6\nXWoa\r\n=gd8k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"804d9acf873f3225fcb06fb45421924dc97544c5","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.18.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.5","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.2_1611310414934_0.4265601010195279","host":"s3://npm-registry-packages"}},"5.0.3":{"name":"@testing-library/react-hooks","version":"5.0.3","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.0.3","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim_alwer@hotmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"dd0d2048817b013b266d35ca45e3ea48a19fd87e","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.3.tgz","fileCount":132,"integrity":"sha512-UrnnRc5II7LMH14xsYNm/WRch/67cBafmrSQcyFh0v+UUmSf1uzfB7zn5jQXSettGwOSxJwdQUN7PgkT0w22Lg==","signatures":[{"sig":"MEUCIC5SIme6wltExkl/Nk3He44bOQ2SN1R5xLQp58MQPz7oAiEA2R/kHb2MrepseKKNi8HFb0O8GX1js2fcIN/VId+Mu+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDTUrCRA9TVsSAnZWagAA+qIP/j9CWCZa8ZiK0GYoke+N\nqQIOxDeqDYbo4bdi03UHKUuPVdv22ygAfOAs9T1brKQyKVJ/YgcqpVsDEmdx\n112m74g48A2fhcnb/OfSGselXNtMp7n247Sog7Tn9OhWTvRya1jQAVWNHCR9\nJJGSkGIH3GFj8P0nKCASe3c4DRjxnxNUN0Lxd8fXDIeULeycKmU1XzsmQeU/\nQrwAv4bR5qj3ME3YFnllM9D+rWlZV2a/kVbpL7qwZbfmPcjKszqxhTQXHkPa\n5wI2dCOpXthNdDLWDLt4hN3KK8hgFcJT+KRzSF3xgAcgpqvkXQaWw22P1NTt\nm6itJ7W1NTTlrM6tCn0mG5T+BvbQ3AznGVTHgsLMg4ANLJ34eqNjOUoZRx9S\nUHVGW6yC7g3/PXqs5HGr1/kSvwqialJxJHvHTlXnq+1tP7tKxZsQEga0o3jK\n8wVqfNa5IWr7tbB+fY7yGiBLNcEMFttQFzMSGSiG2JeAueMqnSjW0K3IUYa7\nTxc/YUsRna5Co87G1yjDmFks4MQKYpDytrusray9kPQ3G5YpFp+0PRKMuIn0\n958L3Wm8PEOXXvLazAoxn+SQ8C1NpjCfU6hZB2pAeWdSf9Ule8vJxK590snJ\niAqP4lWP5rpmuo7eqX1QY/cIZ/49QHEZpRA79/dGthbpaKqeBzIwJPnumYK/\nE9XT\r\n=oRrs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"1a0c4d32ae4592b57c194b8e57d6479bb788b101","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.8","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.18.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.1.3","kcd-scripts":"7.5.5","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.19.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.0.3_1611478315357_0.45547632162979657","host":"s3://npm-registry-packages"}},"5.1.0":{"name":"@testing-library/react-hooks","version":"5.1.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.1.0","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"6014b7536d0e9427a1e73ce1d073c49a6af5fb3b","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.1.0.tgz","fileCount":132,"integrity":"sha512-ChRyyA14e0CeVkWGp24v8q/IiWUqH+B8daRx4lGZme4dsudmMNWz+Qo2Q2NzbD2O5rAVXh2hSbS/KTKeqHYhkw==","signatures":[{"sig":"MEQCIGDWlNpvgaxBUkeCkG9hwQhQTP/Agh2Veh6WflkNBoGJAiASOICyDWD8hOgZH7UlV5EzaF0t9dtpR520zAwg+UN7ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPQoeCRA9TVsSAnZWagAA8J0P/06yfYkqkeuLdKBtT/GZ\nQnL480f6XDapAHsR8V3KJvkjco15NtHoXyhQ0FmSJViK/4udJS1Z1MZ34qZT\nCVgR1W3u+OX0ggpLaL7b1HogkvsCPDvG/zILGbIUFnlBeXAkIRAZjjA915/c\npeQ9aVbLZwBSA1/Zii2BGsG28RP88NUvddskVA+/bXWXiS6ktlF/tr0IoytE\n6yaJ3b1mVR150VSGGO9QeeD4Nc3V2tSD4eG0qyhPhajsNgMjnqg9alasmlYR\n0ukEaBD21D75vHg9n77k/KRd1H0/1lc/utW6Oe/qyIgs/IjgPAPHLH//TQum\nnxzbwHS89hQUH09yflmdnriEa4FGghD+ZW89JaZA4LMNAd6CVDIIIL8Y3ewk\npVM0TVXf5J6BrgfooLwYZ47J8yK57Pnc4BzIT3/Vo2/oFoNDAG5Bq+B2d0XD\nfgjTEgNEemhDV6jPyN5sdMNySv5dgdeVRa1CSXZOFwUDgOtnfjFWiNOoWP7D\nNTR8s5mLGYuoQ/pEhL+nbf2KYLKe5Ww31/Qh5RS4YoszIsXYeflN9d9CBial\nxjC/pZ6AOE1OtwVAutNgA2Gbw9kLSYNhv87I1xyL/JLO6LunQjlMv8GkMcJK\n1A/toOEkx97esW8htsX7lEr2IqbRKfNSx7IbvCInsEs7BdG7te3Vcj1t/1f6\nlE+f\r\n=cJ+P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"d8dac2065976161ced1b0ed3e2b4bd573f836bc8","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.11","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.15.5","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.1","eslint":"7.21.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.2.2","kcd-scripts":"7.7.0","docz-theme-default":"1.2.0","react-test-renderer":"17.0.1","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.1.0_1614613022264_0.4353531777797297","host":"s3://npm-registry-packages"}},"5.1.1":{"name":"@testing-library/react-hooks","version":"5.1.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.1.1","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"1fbaae8a4e8a4a7f97b176c23e1e890c41bbbfa5","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.1.1.tgz","fileCount":132,"integrity":"sha512-52D2XnpelFDefnWpy/V6z2qGNj8JLIvW5DjYtelMvFXdEyWiykSaI7IXHwFy4ICoqXJDmmwHAiFRiFboub/U5g==","signatures":[{"sig":"MEQCIF1LryDhP+3amMYUA7YYZU2uU3CJEHXPut4GqM7CGRp+AiBu+QGNYEyPhpOarfF45A47uSciaMGTbRZUsbCqF6497A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYhKwCRA9TVsSAnZWagAAOJEQAIGIRgTXaW79UdzrZ+tJ\nAVe0cJRawZHfSA0MIn8C+DRC7ECYglnfDHoytwSVyFgdnqY1Q6dQL1+UbT3l\nXo9qarfE5x2VL3j08OS4AczpBsEA2GtlgggjpY9B7/fii4rs3zrI/L1PxAMd\nzKgWuJkaO1P0m8RyNgVfrfyKnYm4t4i0itC23N0Nyd44iTR8nxXnNlhbxbn9\nwCVRQAVRSUb8TfolXCqBzxCkKrvIYpzMh39P66+5ve/9B1tmKXm1lrYoaMkK\nK7ky23F/As25cXW+JRfd+mqUS3aHd2DEPhYzuEfzdnS0lzR9UhL2LLWKr8tb\nDc80NZsvbliXLTbZPxsDov2/OCdCsxQ0zIC/QbvrEPSOBE3qmTcmKsTtEiRi\ngq/empQ+dQYogjcKl5zdGFCaQACSvA3VVFY4Xw40RjKI0QbGVo3s5hLToyDt\nHp+u5CbEU5rvhPz+YWwJPdDSLfeD9xavkAdrHiQQta3hv5uinjqLQKrWLYne\nT5ZfxmNCK1DJe6IoCaxnyXrRuzlIfytkm3cdvUcR/y3Yo9AabW/ru4WPIkRP\nr/uJgMjxG/wYvvSjUlkVs/wq48gi7IVHzSKhrMpL2P/+Dz0Q3GCNiaIkOcO8\nYa3/NvnSk5SuR0RT13u3nzCeGLa4V8Pysrvk9dj+E0U7GzbRZIH2rnHx19w7\n/4Xt\r\n=ORB1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"ef2daaf79a50572a3106a8612134e4f83714e8c1","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.11","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.16.0","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.23.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.2.3","kcd-scripts":"8.1.1","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.1.1_1617040048413_0.5087285450355701","host":"s3://npm-registry-packages"}},"5.1.2":{"name":"@testing-library/react-hooks","version":"5.1.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.1.2","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"36e359d992bb652a9885c6fa9aa394639cbe8dd3","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.1.2.tgz","fileCount":132,"integrity":"sha512-jwhtDYZ5gQUIX8cmVCVdtwNvuF5EiCOWjokRlTV+o/V0GdtRZDykUllL1OXq5PS4+J33wGLNQeeWzEHcWrH7tg==","signatures":[{"sig":"MEQCIBpwI08Es5Jvh9mvQxESXlxZW2CU6r11J++X/JefKSXHAiAlvwkOyhAMFKV8hFTFVk03mMi8t7R0iQqHUQeZAcNLew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggT94CRA9TVsSAnZWagAAH24P/jUJWnQkswHkq/DJ+X0h\nRB83jqroyLC1prDmWORGZMSbl0JPZFOuY6lkzTbKQ1dmpeTfxWlnNB1qr9A+\nfvelcCjy/3cM5CyCtZd7YTHOOKs/B2sKE91qrT1s1K4HQtmkU0gimlZEwyWN\n7zl1YXpPxMc1OPkP3SbcED1DKmPVAUzY/LqHmjh3bKiE5T8ds/8xJo98ivJl\nlcpP9es3n11itJalwVluVoKPRePMnS3FRBGgDnglSaCKPCPFWpp+8iDuBbiD\ndMKmNCwKHJ30bLhm0KHn/wkDgi+jF3P0iVQ95K3mPuJU4+TtGmdno6nmtbuQ\nfxMoaW9OcjFK9fTfxhX4fWXhtaJN4o5XcKmccOHhxRL2Ef0+RjH0WK7izMEN\nqHdbXOIV7iS0AUE3XIE+dD2rN8RZHCbPUTiuQBucW+nFoTlwpBs12cAY60lF\nOGzq9Zw1mRiRICr/Ues4UJOchdaJkQO21Rwus+ePjIN3nUO0Di+tHoKlC+Xg\nct3z5+m6S35lMJIqiL6mu80Ihuuj12WjexI/BCB2i83CAHiDabdbVhzjm4mY\n1kK5BeRgh42MTvU7CSZO8SkXkeIV0bCsyeRFBKs6RBt40yhhJj9s0ai2UO+0\n9zD4bx5gchGa1e3YmOWbRdwQ+skk7KwVLAJV5NP8UmBLe6MLgjdXegxHdWEv\nM9BL\r\n=Uyua\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"7b3867e667e83fb64bf98c8e5ed143eb9159fc0b","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.12","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.24.0","codecov":"3.8.1","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.2.4","kcd-scripts":"9.1.0","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.1.2_1619083127631_0.9680822134131781","host":"s3://npm-registry-packages"}},"5.1.3":{"name":"@testing-library/react-hooks","version":"5.1.3","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@5.1.3","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"f722cc526025be2c16966a9a081edf47a2528721","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.1.3.tgz","fileCount":132,"integrity":"sha512-UdEUtlQapQ579NEcXDAUE275u+KUsPtxW7NmFrNt0bE6lW8lqNCyxDK0RSuECmNZ/S0/fgP00W9RWRhVKO/hRg==","signatures":[{"sig":"MEUCIQDwRBda3dWbRGebQVdG+S3xEH/mLLeuom1jtbITc6MfngIgKZapOfS/ajYA+Bn3Q3J5tbxfWWvVd1jkhBGWhZJW2Ug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo65QCRA9TVsSAnZWagAA4d8P/0GhCzehck3F7xJ9HKNN\n1b76mBsh3sKvbkrpGRAYOVl4giuK7wStsZWxxTUTdYjoqsqvu7unmYeJTmsr\ngUHLRS8cT1jfZsklBiAx43m27ey9slmURsJny9cm+4zUUuaFMhu9BMiIyZuZ\n7UWa6AvRxUADNTnxF+pJfIMFWQiIslGO+w3Y56q/nuQ606HD3gEeUX2MUCnb\n9DW21KAc3qhMXTurfn5900gUeATjr3L2atdBhAD+oLNck7IuvsfdsaA/QKI4\n1Pre5T5sPZ0ym0BKIOizUkNG/+4ENG6XrB2Rh/XBDs8K10ofbLHrubIG7BrO\n3NSiA5OqV5dTsnNSXQM9/Vsic6IOw64Xyph9aYw3VfSekr420UvkkVn+MpHx\nj0NEboImSfBSh2czj0HqaaWSJd5zbUeNbjvYr+1JlC77YReHhSzNJ55q6+vQ\ntfXS/uPFjq3dKORS9rrB1ahkZqZ+C0Dc4yPEOxksi4/x9PnESr0iIDxcrRCu\nIeJ1DEQTtUNV4Y/H59lzzwsomsr2mKCxYYaNwvnhB+EeMfxoYOr0K9squGOM\nxxKe8vq0E6EOtR8DugVIfnnJF15L/8elI3ZsCulRU6n5ohusjoBbnuV84pMp\nPWp6NwlIvraSDscGhc26/YLJNhIhyhcsq8WlvwPiZt5Bo+sxFSe5TsA2fwvU\ny5o2\r\n=XFb2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"882bcfed24269dd174edce154dda42715799e173","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.12","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.26.0","codecov":"3.8.2","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.2.4","kcd-scripts":"10.0.0","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_5.1.3_1621339728005_0.3252999763845881","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"@testing-library/react-hooks","version":"6.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@6.0.0","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"2bd4e1549a7b8b8a9db71880e655c23d1f97fe83","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-6.0.0.tgz","fileCount":132,"integrity":"sha512-Y8ayCUFPiNttX9zmwP2bDv4uYzgsgOMHxAsOrD7th7Xuj1j1rHkxf+VzRqdr7zJlSeYPzl67754qAnZ9O1ahYg==","signatures":[{"sig":"MEQCIG55Eym1+CgEfX8BPjzEwru4bYX2ifK6nEiKV162QLoNAiAOE4kJfOtokIXb+ShmOJuw/PkW4ryF4BdX8eLLlE5nXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo72zCRA9TVsSAnZWagAAiUMP/iSRiuKGtYeq6/FwqixE\nE1QaDuwPWsGN0j2KHOVyTS4opL58yoYztsYcknxljeWGmh2xtTlmxDXXzDEB\n+iAxf45NbP9d+s93454B31mV6Rucbommv1gLtbyXCPpJnjWPWhgsaiTH4y4H\nfDcBKGBTwJsf8BWXsTuwHyNnFMftFSrn+tkjr4qJV2dfQRT1BIiVXDVtliYH\nWhxgwIHUNx1NVIEhTKX58FZbmQ+kFYYd7lUpWc4lxQ9O2QAtadrJDofyFff5\n2B6CbzkDsmgcBdPwZGOOSBdUOpUcWbdLibimLPszP8rFgHZqJz/rdewktkFp\nU4NOQI4VrLjpMNYDHAx+zYfw0m4hfM8gm1e86md6t8Wo+ZZnGyz14QKUMcjj\nfjMhQBZxnniulaRE4Uloj+oGRWauIGc2xMmh+et+i+Nrk4z5XZMchdyWnh1D\nYUKqkmEVgsJyYcKX0RmSf6e8jLHddQH4rwFkMJKfIbpqxxc/fsda99OO/1L6\nsQiRjwJbE6BBrwEu7LFZfeo0+LpO0H8HkYYNvLQD/dMvjEBAhzXciYSgiFys\nb+tcF7sjP0yrutvIcN5J65ImhmocvINsuEj5g5lmD43SFLtDtwtFfUXTlBZ3\neYEQLNQo8AhvvA9pzv5a79TPoPNzWalnUX+45Tlr93N+5cs/DQbaIf7h71sx\nfMqG\r\n=+O+E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12"},"gitHead":"39dd2280bf79259e1e271c226465e2af20999fa5","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.12","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.16.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","filter-console":"^0.1.1","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.26.0","codecov":"3.8.2","ts-node":"^9.1.1","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.2.4","kcd-scripts":"10.0.0","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_6.0.0_1621343666481_0.48133724514263476","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"@testing-library/react-hooks","version":"7.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@7.0.0","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"dd6d37a7e018f147a3b9153137f10e013be8472b","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-7.0.0.tgz","fileCount":141,"integrity":"sha512-WFBGH8DWdIGGBHt6PBtQPe2v4Kbj9vQ1sQ9qLBTmwn1PNggngint4MTE/IiWCYhPbyTW3oc/7X62DObMn/AjQQ==","signatures":[{"sig":"MEYCIQCbnWqe4rtseHIi4oSPdpkzy7ziXX+KOS55u4ndHcjTlQIhAJmwkIz0Dw9y0+6mQLtadeHD6gvFTiH0SkujWN5YiDtp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":186890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrC7HCRA9TVsSAnZWagAALcAP/2wdQzWRF1IaWS3mpCpu\niqyytblb81RLES71UvuSbK5A410vHaJ4btLbNcZm1Lv09nS6r6glL/Iqd0Zd\nld8X1kEm+Dr6/JodQIXkzwM+HhP8gBB92GUhvRg89B9FZLpr1Ztb2BySrmA0\ndf2sBoR4oi8mhoIWouGOilG5qBa39lpRoaCEVN+w1QoKcHVTmPI45Ak1AyRr\nySmVM00GCbzvdURzHKZcc8f6pN7lqISLvxy57B7zZ75LEp3iJwf1MmukxFiO\naavtolHU4HgJXwAWc/K28T7fjhb+Y2M35CZJwh1Jd569uYo44ikBGX4577yC\nEz2FuaV2CefvoE9Kuh+tic1jPhny6nVxv3lA6d8YcI+aTycqEmEQ0JUJlejF\nPJw8jCKGq0r1L7eVOQRg9YjzDQCfQ1Bza0P1N8LpM+5N7OZMEJnEStDrcKK1\nUPMXaIZLlKHRkoNC85scoMQsH5p7szl7E+o06kzwFuJ2SmCGcXgiuwII+JkF\nYJ+xs3KGg31OFqVPpGZdqgzipNOn00zDoZ4ICRiK/ZY/f7KfeS/wUCIUw0p6\nTmdOlyaoaXqvkfORMsyFUhzdZrx1LA3+SFAF/DzNjmkacH1MhJAUl5G6OwOa\n/mhIxhNPslVJR4IAVZ+WCoTFxsWA1XpnnZ836WutyhBABNIuewU6Y/jF55Ml\nMlDI\r\n=eLqj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12"},"gitHead":"e4b0aa3f8f6220a0dea01db25fd2d17fa3054a40","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.13","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.17.0","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.27.0","codecov":"3.8.2","ts-node":"^10.0.0","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.2.4","kcd-scripts":"10.0.0","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_7.0.0_1621896902411_0.0226204895926867","host":"s3://npm-registry-packages"}},"7.0.1":{"name":"@testing-library/react-hooks","version":"7.0.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@7.0.1","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"8429d8bf55bfe82e486bd582dd06457c2464900a","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-7.0.1.tgz","fileCount":97,"integrity":"sha512-bpEQ2SHSBSzBmfJ437NmnP+oArQ7aVmmULiAp6Ag2rtyLBLPNFSMmgltUbFGmQOJdPWo4Ub31kpUC5T46zXNwQ==","signatures":[{"sig":"MEUCIHFd0gN9cxE9s/PvWC/uc74ZTPheuqOjd0Sd8l8bYX5PAiEA/1Hw0HxmvAg/FukYsMK/HdInX/i4qaMvRiT1hTdwS0c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3N4sCRA9TVsSAnZWagAAQhMP/jN5Ja2DPZHFCMgjTgHG\nAlOPnfVVh8eS4Nb2QsYTZW9Jmu0nvFLAqn9B3CCThp9eItSnBjPnL26CDk+m\nAzi1uh8AzelGoTd1i+7aWyGP3s8Z7dX7NH/XSpbrPkPPQZgEQ60+z1HgTUV/\nye8bwUWEbxWFScMOOYJuDYNYbdhykH+bxUhhqNNkBWgicNYsPYQoxzjp/Awf\nD8r0+aSpBmUFFu4l+e2GNHWgm3zFgwPDgS+cbE0qaoLiTJ77b4Yc6E5xeh6j\ntss8wo+nNs9YC1li5SrBdd19OxQ+lj5VaVBGQFPaBPYy4ICl6UsJ69bIx515\nygUt5nwPg/AzMCgZREDtKR9sYbfiTQa7DN5mJk6cGN7w2qJEMYzUaL82zCD0\nSDxriKybSN24gN5TjL+YOgX/x+ER6LQ4MNuaTiBgoMZZtNhmNFTEXk2JwbBg\n0pg5wbhefj+3V/rUzZa7qyzFFgdWITyj+/kWl242urqy5q0fBy5Xspbn7h1C\nHByRe5jzVlG6Xswzhs4WcS7DU4LIq5va3RNiaiesIryFzmkwJzlV5ndhI+Vg\ncWVxX3PDkeKikeu8xY9AoL6GOj+OflcFbzXHo9AgNWUHWkN5EJQHFF3Oa8hD\nJuy02JeK2EyKtwkHFRchtoEATPQytFLJ16Ofio1tadzzJHQGOm3CHQYflnUg\neGMi\r\n=RJUL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12"},"gitHead":"c7a2e979fb8a51271d0d3032c7a03b6fb6ebd3e6","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","prepare":"npm run build","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","contributors:add":"all-contributors add","generate:submodules":"ts-node scripts/generate-submodules.ts"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.13","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.17.1","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.29.0","codecov":"3.8.2","ts-node":"^10.0.0","prettier":"^2.2.1","react-dom":"^17.0.1","docz-utils":"2.3.0","typescript":"4.3.4","kcd-scripts":"11.1.0","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"^4.9.1","@typescript-eslint/eslint-plugin":"^4.9.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_7.0.1_1625087531669_0.6717746734127805","host":"s3://npm-registry-packages"}},"7.0.2":{"name":"@testing-library/react-hooks","version":"7.0.2","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@7.0.2","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"3388d07f562d91e7f2431a4a21b5186062ecfee0","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-7.0.2.tgz","fileCount":98,"integrity":"sha512-dYxpz8u9m4q1TuzfcUApqi8iFfR6R0FaMbr2hjZJy1uC8z+bO/K4v8Gs9eogGKYQop7QsrBTFkv/BCF7MzD2Cg==","signatures":[{"sig":"MEYCIQDZcE9hTdega6laSKbWxEzoVF1YtKNsLzsPHsK2zREoPgIhAJ/haAgJrnABuZjaqAiZnh+fVhtmuiuIV7uM2XudIQPZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":136642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2dqfCRA9TVsSAnZWagAArj4P/26Pt9/IogBKyOdtqM/6\nYvjE5e4F9kNohzr5wI9MeAgIgWqXlcttROqF/37ekwznUVu/nkAhsuRVGa++\nbLpWckAtmuor+frv6iGKYNRDiXnOkpAF7pQmFmb24tT4QBTcVQg5lj732Co0\nNFFF0luraigcPn+ODKiLVfPx9trJH03Ub+TPom94RBMOeVOWrJIGOVdj3mK/\nNdMiGQbN8McjusG7nnTLM8myU6M5L4htoV/lXkz0QJJAurN0BqtgBxh6iUax\nAhvP8APNt6zRlHchApDf2iesgrNs8DDZjiq3Htu6G2HchmzwiWilnEvOcCzA\nMnDIphiYC+92Xu/2dwVjeDOTBvn/+W/T3iZMRpGAKGiLJQG33jcTiGG5E8Fb\nJi26ALhF72sxSpHqtQeWkJ+PGi54ZTt9fFgacmSMBBFlxD8f8WGqFMYoP2qL\nqefF/ObZT9R3yPmVIIDFHcHZtAQN/+T1xx4MLSbuhrny8ZUmM97xqItDwv4Q\nF8tn7RJoQetLSXNzmjmTu4+AMHsK69VIVkWpH8/UL0VPEzcHJlZM0+tsv8QM\nzWq/MmdPdZZ6umS1vPVB66wzf+Xm/Fb4DCInERgOo8zHl2PHZ38Mf42hGo68\nSqjLP/TMTslrf8E5/Vmt0Z2t5o6rMLaFpC8jOPorJNjBTHBo/HALtpbcxY67\neb4u\r\n=GVNq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12"},"gitHead":"4a037040e5d9d806a9d7a9c8fd3fc3b243e4617f","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","install:react":"npm install --no-save react@${REACT_VERSION:-latest} react-dom@${REACT_VERSION:-latest} react-test-renderer@${REACT_VERSION:-latest}","contributors:add":"all-contributors add","install:react-16":"cross-env REACT_VERSION=^16 npm run install:react","install:react-17":"cross-env REACT_VERSION=^17 npm run install:react","generate:submodules":"ts-node scripts/generate-submodules.ts","install:react-16.9.0":"cross-env REACT_VERSION=16.9.0 npm run install:react"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.14","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.17.5","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.32.0","codecov":"3.8.3","ts-node":"10.2.1","prettier":"2.3.2","cross-env":"^7.0.3","react-dom":"17.0.2","docz-utils":"2.3.0","typescript":"4.4.2","kcd-scripts":"11.2.0","get-pkg-repo":"4.1.1","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"4.30.0","@typescript-eslint/eslint-plugin":"4.30.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_7.0.2_1630409438573_0.9576781652916537","host":"s3://npm-registry-packages"}},"8.0.0-alpha.1":{"name":"@testing-library/react-hooks","version":"8.0.0-alpha.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@8.0.0-alpha.1","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver.dev@gmail.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"4d2a11be7c144e0a072bfeaea4a3f2c6c6781d87","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.0-alpha.1.tgz","fileCount":100,"integrity":"sha512-YrIrBXQLKcucFuEiSkHEycR7Yk5lOHH8tTxB+km+XdQiN1af0YlblWt+n9Zx6OX1crIN3JNy8hJ7VvdYivriCg==","signatures":[{"sig":"MEQCIHKyWP7x2F+wM3MDbJfQB2ER5GzEM+gAlwggdd9+b7IqAiAx3BwawbNjw8QtZYapmnk9LAGqNFvo3xs2/7E9NnnQ4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138606},"main":"lib/index.js","types":"lib/index.d.ts","readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/main/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/main/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/main/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/testing-library)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want\nto test against. It also does not come installed with a specific renderer, we currently support\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and\n[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,\nhowever, if you do have both installed, we will use `react-test-renderer` as the default. For more\ninformation see the [installation docs](https://react-hooks-testing-library.com/#installation).\nGenerally, the installed versions for `react` and the selected renderer should have matching\nversions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react`, `react-test-renderer` and `react-dom` is\n> `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jonkoops\"><img src=\"https://avatars2.githubusercontent.com/u/695720?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jon Koops</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jonkoops\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jpeyper\"><img src=\"https://avatars2.githubusercontent.com/u/6560018?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jonathan Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Ajpeyper\" title=\"Reviewed Pull Requests\">👀</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jpeyper\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://seanbaines.com/\"><img src=\"https://avatars.githubusercontent.com/u/24367010?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sean Baines</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mrseanbaines\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://www.linkedin.com/in/mike-vasin/\"><img src=\"https://avatars.githubusercontent.com/u/12434833?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Mikhail Vasin</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mvasin\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://aleksandar.xyz\"><img src=\"https://avatars.githubusercontent.com/u/7226555?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Aleksandar Grbic</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=agjs\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/yoniholmes\"><img src=\"https://avatars.githubusercontent.com/u/184589?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jonathan Holmes</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=yoniholmes\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://michaeldeboey.be\"><img src=\"https://avatars.githubusercontent.com/u/6643991?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michaël De Boey</b></sub></a><br /><a href=\"#maintenance-MichaelDeBoey\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/xobotyi\"><img src=\"https://avatars.githubusercontent.com/u/6178739?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Anton Zinovyev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Axobotyi\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=xobotyi\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marianna-exelate\"><img src=\"https://avatars.githubusercontent.com/u/24763042?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>marianna-exelate</b></sub></a><br /><a href=\"#infra-marianna-exelate\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://matan.io\"><img src=\"https://avatars.githubusercontent.com/u/12711091?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matan Borenkraout</b></sub></a><br /><a href=\"#maintenance-MatanBobi\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/andyrooger\"><img src=\"https://avatars.githubusercontent.com/u/420834?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>andyrooger</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=andyrooger\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/bdwain\"><img src=\"https://avatars.githubusercontent.com/u/3982094?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Bryan Wain</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Abdwain\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Abdwain\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/snowystinger\"><img src=\"https://avatars.githubusercontent.com/u/698229?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Robert Snow</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=snowystinger\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/chris110408\"><img src=\"https://avatars.githubusercontent.com/u/10645051?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Chris Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=chris110408\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=chris110408\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://www.facebook.com/masoud.bonabi\"><img src=\"https://avatars.githubusercontent.com/u/6429009?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Masious</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=masious\" title=\"Documentation\">📖</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/testing-library)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","engines":{"node":">=12"},"gitHead":"732ec46da3b0bc5c83e618b06cf19ff7016f0982","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","install:react":"npm install --no-save react@${REACT_VERSION:-latest} react-dom@${REACT_VERSION:-latest} react-test-renderer@${REACT_VERSION:-latest}","contributors:add":"all-contributors add","install:react-16":"cross-env REACT_VERSION=^16 npm run install:react","install:react-17":"cross-env REACT_VERSION=^17 npm run install:react","generate:submodules":"ts-node scripts/generate-submodules.ts","install:react-16.9.0":"cross-env REACT_VERSION=16.9.0 npm run install:react"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.15","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.17.6","dependencies":{"@types/react":">=16.9.0","@babel/runtime":"^7.12.5","@types/react-dom":">=16.9.0","react-error-boundary":"^3.1.0","@types/react-test-renderer":">=16.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.32.0","codecov":"3.8.3","ts-node":"10.2.1","prettier":"2.4.1","cross-env":"^7.0.3","react-dom":"17.0.2","docz-utils":"2.3.0","typescript":"4.4.3","kcd-scripts":"11.2.2","get-pkg-repo":"4.1.1","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"4.31.1","@typescript-eslint/eslint-plugin":"4.31.1"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0","react-test-renderer":">=16.9.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_8.0.0-alpha.1_1632060036826_0.33206526784294055","host":"s3://npm-registry-packages"}},"8.0.0":{"name":"@testing-library/react-hooks","version":"8.0.0","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@8.0.0","maintainers":[{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"bcarroll22","email":"brandonvcarroll@gmail.com"},{"name":"benmonro","email":"ben.monro@gmail.com"},{"name":"wendell_adriel","email":"wendelladriel.ti@gmail.com"},{"name":"timdeschryver","email":"timdeschryver@outlook.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"antoaravinth","email":"anto.aravinth.cse@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"7d0164bffce4647f506039de0a97f6fcbd20f4bf","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.0.tgz","fileCount":98,"integrity":"sha512-uZqcgtcUUtw7Z9N32W13qQhVAD+Xki2hxbTR461MKax8T6Jr8nsUvZB+vcBTkzY2nFvsUet434CsgF0ncW2yFw==","signatures":[{"sig":"MEYCIQC2u24g+TL0TAZIpofqGDkDNbIWxqlP8jRO375FPiLS3gIhAItJnXCTcUwDJQiqP/yqsWW4p00Hhr/9GduaLJLv+IdR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUsySACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKFhAAhLW+2srFJ5dq01+ZccdkNdZn7/m/5QrT7cSG4IkJTx0+dXv6\r\nrUac2ZrSv2VqTU4F1OBcl5dwXbjc6LtlPo6sF98mmNm3lliipLRymYgwROs4\r\n8ESw9khIABg/FmKwQyx4rHj5iUOMPskwyX0JGzj6hTdCo+xw9jOmSGnPdDzY\r\nAp8fuQJ6XDN1qDol9o/GnZlOV/D8dA8xDmBZwcd6WEYJ3miLap1no3dm4Ak3\r\nJmtnW+wWmVm66xL5uUq/hEcJb1VdEJCAe0rhzTKq72xhUKp6UaNA/y1B2yb3\r\npzDu0AKlNuZsi/P1QFXdkiu/IDHGzh0cFeRUwSsTn0ei4NAf8tPbYCKiF2oN\r\nR5ySyIFg40DmtrjdQivNADSuwsH0Pws8aBd84erwF79Gqg6ISaO/bYi6GvU8\r\ngWZIpk3xs7tDXaKDg1O0SBkFAu97Du/ZKGWQy43Xt1eq4MuDtlrfVK47xKgk\r\n1fxXu4GGVTygXWIVQE4hBpgXXbbQYbVBV6NQK6clS36eqBvsVtseF/0+lrIC\r\n4AMPEX6KowTJlVlGAcpgS/IwMTTZVBl3xExZiayfYyPJ50beO1E1g31pGz8I\r\n4SHlcLXlSqDodGa5vUu6GsilWNJ6ZougLsz3Meq35RUa2psKGgIrC/e4bDfr\r\nQ9VwubJkKsN5ZQ0wxVFVSQsNvzEEoXPR9XU=\r\n=l2QU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12"},"gitHead":"a267f1e7b7ac8b89bf7d809f25bd94faf850b727","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","install:react":"npm install --no-save react@${REACT_VERSION:-latest} react-dom@${REACT_VERSION:-latest} react-test-renderer@${REACT_VERSION:-latest}","contributors:add":"all-contributors add","install:react-16":"cross-env REACT_VERSION=^16 npm run install:react","install:react-17":"cross-env REACT_VERSION=^17 npm run install:react","generate:submodules":"ts-node scripts/generate-submodules.ts","install:react-16.9.0":"cross-env REACT_VERSION=16.9.0 npm run install:react"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.16","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"@babel/runtime":"^7.12.5","react-error-boundary":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.32.0","codecov":"3.8.3","ts-node":"10.5.0","prettier":"2.5.1","cross-env":"7.0.3","react-dom":"17.0.2","docz-utils":"2.3.0","typescript":"4.5.5","kcd-scripts":"11.2.2","@types/react":"17.0.44","get-pkg-repo":"4.1.1","@types/react-dom":"17.0.15","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"5.11.0","@types/react-test-renderer":"17.0.1","@typescript-eslint/eslint-plugin":"5.11.0"},"peerDependencies":{"react":"^16.9.0 || ^17.0.0","react-dom":"^16.9.0 || ^17.0.0","@types/react":"^16.9.0 || ^17.0.0","react-test-renderer":"^16.9.0 || ^17.0.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"@types/react":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_8.0.0_1649593490062_0.11841018489305011","host":"s3://npm-registry-packages"}},"8.0.1":{"name":"@testing-library/react-hooks","version":"8.0.1","keywords":["testing","react","hooks","unit","integration"],"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","_id":"@testing-library/react-hooks@8.0.1","maintainers":[{"name":"jdecroock","email":"decroockjovi@gmail.com"},{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},{"name":"kentcdodds","email":"me@kentcdodds.com"},{"name":"timdeschryver","email":"timdeschryver@outlook.com"},{"name":"patrickhulce","email":"patrick.hulce@gmail.com"},{"name":"dfcook","email":"dfcook@hotmail.com"},{"name":"gpx","email":"polvara@gmail.com"},{"name":"mpeyper","email":"mpeyper7@gmail.com"},{"name":"mihar-22","email":"rahim.alwer@gmail.com"},{"name":"pago","email":"patrick.gotthardt@trivago.com"},{"name":"cmckinstry","email":"carson.mckinstry@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"brrianalexis","email":"brrianalexis.dev@gmail.com"}],"homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"dist":{"shasum":"0924bbd5b55e0c0c0502d1754657ada66947ca12","tarball":"https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.1.tgz","fileCount":99,"integrity":"sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==","signatures":[{"sig":"MEYCIQDvnlhQCSxuAW3UO4aKKhSTdPajHf5n6PdVkgASpvo66wIhAJTFcue+G0U+Y/tcrnkuWzoLUDHWaji1p78dmUpWQsKd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirdETACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuUA//Qz+6MsHEYZ5eC4/Mdx/SnzXmdde15VvT0oDsCt5q1zcWkAJO\r\nUd7wFKHi45lsBtYy7qkfMKpWkNR1GpK4/S8L2Q902dFysRueFXHxosSPfH4h\r\nsF5XNDdVISPXS2XkDNvRiYhPzUQB8oTLy616TxVzJyMhCyyoCQz/MdCkGFQJ\r\n1+Uccp/flJplQtkoNnKj+HTRXXOt2luYgs6FkOdRj/dXOjd7DUNvRFoHzRPg\r\nb7lUOhQ+4ETM4uXByto5neYKFvCy21rxapMLGBZoGEHWnmilWSSiJpuWE4TI\r\n1KVJipLClCc8UUNSH3K7e029IxpesUq+deToMytJJDNAh0vcRaQWw2uVCVLy\r\nDThKfg1fg9NCU9IWA0o6CAO+K/1rYRiWvK2E4NptF+UiobSPZrXxEfIa2Uen\r\nwd6pF7MH5kn7WmY7IC4eT2EPl37LsgnCbdAjnDTAoOKrjpaeF32UoUOrQBzL\r\n/6Rp+2BcBOGnZ1ojJwg5TeZWNnl5N3V14r2EuSGLnOFqtkPr9UVVJErVyCDJ\r\nR4n/FUZD1zbJ18Suej8ijMWxYDmvuSt16ba7t1GGC8TMms9VGuxnEEqs9BZ6\r\nRe9Km621Qcu2YHPo9xyIEwo9fRO/RQXV9FNtVcIMKwhEBdne9YWGa0Ycddwm\r\n5iCbhQcDN8dpRzV5CiFoQUd9KfSdM68JrYI=\r\n=IUZe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12"},"gitHead":"e2461ca4b5ab45813527f5e2478c4e8552f16c51","scripts":{"lint":"kcd-scripts lint","test":"kcd-scripts test","build":"kcd-scripts build --out-dir lib && npm run generate:submodules","setup":"npm install && npm run validate -s","format":"kcd-scripts format","coverage":"codecov","docs:dev":"docz dev","validate":"kcd-scripts validate","typecheck":"kcd-scripts typecheck","docs:build":"docz build","install:react":"npm install --no-save react@${REACT_VERSION:-latest} react-dom@${REACT_VERSION:-latest} react-test-renderer@${REACT_VERSION:-latest}","contributors:add":"all-contributors add","install:react-16":"cross-env REACT_VERSION=^16 npm run install:react","install:react-17":"cross-env REACT_VERSION=^17 npm run install:react","generate:submodules":"ts-node scripts/generate-submodules.ts","install:react-16.9.0":"cross-env REACT_VERSION=16.9.0 npm run install:react"},"_npmUser":{"name":"testing-library-bot","email":"testinglibraryoss@gmail.com"},"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"_npmVersion":"6.14.17","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","directories":{},"_nodeVersion":"14.19.3","dependencies":{"@babel/runtime":"^7.12.5","react-error-boundary":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"docz":"2.3.1","react":"17.0.2","eslint":"7.32.0","codecov":"3.8.3","ts-node":"10.5.0","prettier":"2.5.1","cross-env":"7.0.3","react-dom":"17.0.2","docz-utils":"2.3.0","typescript":"4.5.5","kcd-scripts":"11.2.2","@types/react":"17.0.44","get-pkg-repo":"4.1.1","@types/react-dom":"17.0.15","docz-theme-default":"1.2.0","react-test-renderer":"17.0.2","all-contributors-cli":"6.20.0","@typescript-eslint/parser":"5.11.0","@types/react-test-renderer":"17.0.1","@typescript-eslint/eslint-plugin":"5.11.0"},"peerDependencies":{"react":"^16.9.0 || ^17.0.0","react-dom":"^16.9.0 || ^17.0.0","@types/react":"^16.9.0 || ^17.0.0","react-test-renderer":"^16.9.0 || ^17.0.0"},"peerDependenciesMeta":{"react-dom":{"optional":true},"@types/react":{"optional":true},"react-test-renderer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-hooks_8.0.1_1655558418853_0.5914767270746852","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-06-19T13:12:31.187Z","modified":"2025-12-13T20:20:53.939Z","1.0.0":"2019-06-19T13:12:31.540Z","1.0.1":"2019-06-19T13:35:20.305Z","1.0.2":"2019-06-19T13:43:47.152Z","1.0.3":"2019-06-21T11:14:15.372Z","1.0.4":"2019-06-22T04:09:51.943Z","1.1.0":"2019-06-30T12:49:33.971Z","2.0.0":"2019-08-09T11:24:12.895Z","2.0.1":"2019-08-09T12:03:19.813Z","2.0.2":"2019-10-03T19:16:47.290Z","2.0.3":"2019-10-03T19:35:44.192Z","3.0.0":"2019-10-16T21:44:41.494Z","3.1.0":"2019-10-17T05:52:58.156Z","3.1.1":"2019-10-27T09:55:53.614Z","3.2.0":"2019-11-05T09:58:20.032Z","3.2.1":"2019-11-05T10:09:41.730Z","3.3.0":"2020-06-04T22:49:10.263Z","3.4.0":"2020-07-23T09:50:58.418Z","3.4.1":"2020-07-23T09:54:51.338Z","3.4.2":"2020-09-28T11:24:16.100Z","3.5.0":"2020-12-06T11:47:33.448Z","3.6.0":"2020-12-07T10:13:27.159Z","3.7.0":"2020-12-08T09:26:58.441Z","4.0.0-beta.1":"2020-12-15T03:34:39.996Z","4.0.0-beta.2":"2020-12-23T12:01:17.033Z","4.0.0":"2021-01-07T03:54:03.489Z","4.0.0-beta.3":"2021-01-07T08:38:34.303Z","5.0.0-beta.1":"2021-01-07T09:50:09.636Z","5.0.0-beta.2":"2021-01-07T10:54:14.260Z","5.0.0-beta.3":"2021-01-07T11:05:17.146Z","5.0.0-beta.4":"2021-01-08T09:29:14.621Z","5.0.0-beta.5":"2021-01-08T12:17:58.931Z","5.0.0-beta.6":"2021-01-09T20:04:48.357Z","5.0.0-beta.7":"2021-01-10T10:13:59.263Z","5.0.0-beta.8":"2021-01-11T10:13:19.578Z","5.0.0-beta.9":"2021-01-12T09:38:04.068Z","4.0.1":"2021-01-12T11:48:53.965Z","5.0.0-beta.10":"2021-01-12T15:47:45.767Z","5.0.0-beta.11":"2021-01-13T05:02:34.014Z","5.0.0-beta.12":"2021-01-13T18:49:18.681Z","5.0.0":"2021-01-13T21:58:55.022Z","5.0.2":"2021-01-22T10:13:35.088Z","5.0.3":"2021-01-24T08:51:55.527Z","5.1.0":"2021-03-01T15:37:02.514Z","5.1.1":"2021-03-29T17:47:28.582Z","5.1.2":"2021-04-22T09:18:47.787Z","5.1.3":"2021-05-18T12:08:48.168Z","6.0.0":"2021-05-18T13:14:26.644Z","7.0.0":"2021-05-24T22:55:02.568Z","7.0.1":"2021-06-30T21:12:11.786Z","7.0.2":"2021-08-31T11:30:38.721Z","8.0.0-alpha.1":"2021-09-19T14:00:37.021Z","8.0.0":"2022-04-10T12:24:50.234Z","8.0.1":"2022-06-18T13:20:19.073Z"},"bugs":{"url":"https://github.com/testing-library/react-hooks-testing-library/issues"},"author":{"name":"Michael Peyper","email":"mpeyper7@gmail.com"},"license":"MIT","homepage":"https://github.com/testing-library/react-hooks-testing-library#readme","keywords":["testing","react","hooks","unit","integration"],"repository":{"url":"git+https://github.com/testing-library/react-hooks-testing-library.git","type":"git"},"description":"Simple and complete React hooks testing utilities that encourage good testing practices.","maintainers":[{"email":"testinglibraryoss@gmail.com","name":"testing-library-bot"},{"email":"me@kentcdodds.com","name":"kentcdodds"},{"email":"timdeschryver@outlook.com","name":"timdeschryver"},{"email":"patrick.hulce@gmail.com","name":"patrickhulce"},{"email":"dfcook@hotmail.com","name":"dfcook"},{"email":"polvara@gmail.com","name":"gpx"},{"email":"mpeyper7@gmail.com","name":"mpeyper"},{"email":"rahim.alwer@gmail.com","name":"mihar-22"},{"email":"patrick.gotthardt@trivago.com","name":"pago"},{"email":"carson.mckinstry@gmail.com","name":"cmckinstry"},{"email":"thymikee@gmail.com","name":"thymikee"},{"email":"brrianalexis.dev@gmail.com","name":"brrianalexis"},{"email":"decroockjovi@gmail.com","name":"jdecroock"},{"email":"mdjastrzebski@gmail.com","name":"mdjastrzebski"},{"email":"silbermann.sebastian@gmail.com","name":"eps1lon"},{"email":"mail@lenzw.de","name":"phryneas"},{"email":"matanbobi@gmail.com","name":"matanbobi"}],"readme":"<div align=\"center\">\n  <h1>react-hooks-testing-library</h1>\n\n<a href=\"https://www.emojione.com/emoji/1f40f\">\n  <img\n    height=\"80\"\n    width=\"80\"\n    alt=\"ram\"\n    src=\"https://raw.githubusercontent.com/testing-library/react-hooks-testing-library/main/public/ram.png\"\n  />\n</a>\n\n<p>Simple and complete React hooks testing utilities that encourage good testing practices.</p>\n\n  <br />\n  <a href=\"https://react-hooks-testing-library.com/\"><strong>Read The Docs</strong></a>\n  <br />\n</div>\n\n<hr />\n\n<!-- prettier-ignore-start -->\n[![Build Status](https://img.shields.io/github/workflow/status/testing-library/react-hooks-testing-library/validate?logo=github&style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/actions?query=workflow%3Avalidate)\n[![codecov](https://img.shields.io/codecov/c/github/testing-library/react-hooks-testing-library.svg?style=flat-square)](https://codecov.io/gh/testing-library/react-hooks-testing-library)\n[![version](https://img.shields.io/npm/v/@testing-library/react-hooks.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/react-hooks)\n[![downloads](https://img.shields.io/npm/dm/@testing-library/react-hooks.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/react-hooks)\n[![MIT License](https://img.shields.io/npm/l/@testing-library/react-hooks.svg?style=flat-square)](https://github.com/testing-library/react-hooks-testing-library/blob/main/LICENSE.md)\n\n[![All Contributors](https://img.shields.io/github/all-contributors/testing-library/react-hooks-testing-library?color=orange&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/react-hooks-testing-library/blob/main/CODE_OF_CONDUCT.md)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/9a8f27a5-df38-4910-a248-4908b1ba29a7/deploy-status)](https://app.netlify.com/sites/react-hooks-testing-library/deploys)\n[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/testing-library)\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/testing-library/react-hooks-testing-library.svg?style=social)](https://github.com/testing-library/react-hooks-testing-library/stargazers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/testing-library/react-hooks-testing-library.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20react-hooks-testing-library%20by%20%40testing-library%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Freact-hooks-testing-library%20%F0%9F%91%8D)\n<!-- prettier-ignore-end -->\n\n## A Note about React 18 Support\n\nAs part of the changes for React 18, it has been decided that the `renderHook` API provided by this\nlibrary will instead be included as official additions to both `react-testing-library`\n([PR](https://github.com/testing-library/react-testing-library/pull/991)) and\n`react-native-testing-library`\n([PR](https://github.com/callstack/react-native-testing-library/pull/923)) with the intention being\nto provide a more cohesive and consistent implementation for our users.\n\nPlease be patient as we finalise these changes in the respective testing libraries.\nIn the mean time you can install `@testing-library/react@^13.1`\n\n## Table of Contents\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- [The problem](#the-problem)\n- [The solution](#the-solution)\n- [When to use this library](#when-to-use-this-library)\n- [When not to use this library](#when-not-to-use-this-library)\n- [Example](#example)\n  - [`useCounter.js`](#usecounterjs)\n  - [`useCounter.test.js`](#usecountertestjs)\n- [Installation](#installation)\n  - [Peer Dependencies](#peer-dependencies)\n- [API](#api)\n- [Contributors](#contributors)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n  - [💡 Feature Requests](#-feature-requests)\n  - [❓ Questions](#-questions)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## The problem\n\nYou're writing an awesome custom hook and you want to test it, but as soon as you call it you see\nthe following error:\n\n> Invariant Violation: Hooks can only be called inside the body of a function component.\n\nYou don't really want to write a component solely for testing this hook and have to work out how you\nwere going to trigger all the various ways the hook can be updated, especially given the\ncomplexities of how you've wired the whole thing together.\n\n## The solution\n\nThe `react-hooks-testing-library` allows you to create a simple test harness for React hooks that\nhandles running them within the body of a function component, as well as providing various useful\nutility functions for updating the inputs and retrieving the outputs of your amazing custom hook.\nThis library aims to provide a testing experience as close as possible to natively using your hook\nfrom within a real component.\n\nUsing this library, you do not have to concern yourself with how to construct, render or interact\nwith the react component in order to test your hook. You can just use the hook directly and assert\nthe results.\n\n## When to use this library\n\n1. You're writing a library with one or more custom hooks that are not directly tied to a component\n2. You have a complex hook that is difficult to test through component interactions\n\n## When not to use this library\n\n1. Your hook is defined alongside a component and is only used there\n2. Your hook is easy to test by just testing the components using it\n\n## Example\n\n### `useCounter.js`\n\n```js\nimport { useState, useCallback } from 'react'\n\nfunction useCounter() {\n  const [count, setCount] = useState(0)\n\n  const increment = useCallback(() => setCount((x) => x + 1), [])\n\n  return { count, increment }\n}\n\nexport default useCounter\n```\n\n### `useCounter.test.js`\n\n```js\nimport { renderHook, act } from '@testing-library/react-hooks'\nimport useCounter from './useCounter'\n\ntest('should increment counter', () => {\n  const { result } = renderHook(() => useCounter())\n\n  act(() => {\n    result.current.increment()\n  })\n\n  expect(result.current.count).toBe(1)\n})\n```\n\nMore advanced usage can be found in the\n[documentation](https://react-hooks-testing-library.com/usage/basic-hooks).\n\n## Installation\n\n```sh\nnpm install --save-dev @testing-library/react-hooks\n```\n\n### Peer Dependencies\n\n`react-hooks-testing-library` does not come bundled with a version of\n[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want\nto test against. It also does not come installed with a specific renderer, we currently support\n[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and\n[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,\nhowever, if you do have both installed, we will use `react-test-renderer` as the default. For more\ninformation see the\n[installation docs](https://react-hooks-testing-library.com/installation#renderer). Generally, the\ninstalled versions for `react` and the selected renderer should have matching versions:\n\n```sh\nnpm install react@^16.9.0\nnpm install --save-dev react-test-renderer@^16.9.0\n```\n\n> **NOTE: The minimum supported version of `react`, `react-test-renderer` and `react-dom` is\n> `^16.9.0`.**\n\n## API\n\nSee the [API reference](https://react-hooks-testing-library.com/reference/api).\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-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mpeyper\"><img src=\"https://avatars0.githubusercontent.com/u/23029903?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Documentation\">📖</a> <a href=\"#ideas-mpeyper\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#infra-mpeyper\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-mpeyper\" title=\"Maintenance\">🚧</a> <a href=\"#question-mpeyper\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mpeyper\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/otofu-square\"><img src=\"https://avatars0.githubusercontent.com/u/10118235?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>otofu-square</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=otofu-square\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/ab18556\"><img src=\"https://avatars2.githubusercontent.com/u/988696?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patrick P. Henley</b></sub></a><br /><a href=\"#ideas-ab18556\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Aab18556\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/matiosfm\"><img src=\"https://avatars3.githubusercontent.com/u/7120471?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matheus Marques</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=marquesm91\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://ca.linkedin.com/in/dhruvmpatel\"><img src=\"https://avatars1.githubusercontent.com/u/19353311?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dhruv Patel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Adhruv-m-patel\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Adhruv-m-patel\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://ntucker.true.io\"><img src=\"https://avatars0.githubusercontent.com/u/866147?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nathaniel Tucker</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Antucker\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Antucker\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sgrishchenko\"><img src=\"https://avatars3.githubusercontent.com/u/15995890?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergei Grishchenko</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=sgrishchenko\" title=\"Documentation\">📖</a> <a href=\"#ideas-sgrishchenko\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/josepot\"><img src=\"https://avatars1.githubusercontent.com/u/8620144?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josep M Sobrepere</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=josepot\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/mtinner\"><img src=\"https://avatars0.githubusercontent.com/u/5487448?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcel Tinner</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mtinner\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/FredyC\"><img src=\"https://avatars0.githubusercontent.com/u/1096340?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel K.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3AFredyC\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=FredyC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/VinceMalone\"><img src=\"https://avatars0.githubusercontent.com/u/2516349?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Vince Malone</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=VinceMalone\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/doppelmutzi\"><img src=\"https://avatars1.githubusercontent.com/u/4130968?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sebastian Weber</b></sub></a><br /><a href=\"#blog-doppelmutzi\" title=\"Blogposts\">📝</a></td>\n    <td align=\"center\"><a href=\"https://gillchristian.xyz\"><img src=\"https://avatars2.githubusercontent.com/u/8309423?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Christian Gill</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=gillchristian\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://jsjoe.io\"><img src=\"https://avatars3.githubusercontent.com/u/3806031?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>JavaScript Joe</b></sub></a><br /><a href=\"#tutorial-jsjoeio\" title=\"Tutorials\">✅</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jsjoeio\" title=\"Tests\">⚠️</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"http://frontstuff.io\"><img src=\"https://avatars1.githubusercontent.com/u/5370675?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sarah Dayan</b></sub></a><br /><a href=\"#platform-sarahdayan\" title=\"Packaging/porting to new platform\">📦</a></td>\n    <td align=\"center\"><a href=\"https://github.com/102\"><img src=\"https://avatars1.githubusercontent.com/u/5839225?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Roman Gusev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=102\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/hemlok\"><img src=\"https://avatars2.githubusercontent.com/u/9043345?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Adam Seckel</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=hemlok\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://keiya01.github.io/portfolio\"><img src=\"https://avatars1.githubusercontent.com/u/34934510?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>keiya sasaki</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=keiya01\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://huchen.dev/\"><img src=\"https://avatars3.githubusercontent.com/u/2078389?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hu Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=huchenme\" title=\"Documentation\">📖</a> <a href=\"#example-huchenme\" title=\"Examples\">💡</a></td>\n    <td align=\"center\"><a href=\"https://github.com/joshuaellis\"><img src=\"https://avatars0.githubusercontent.com/u/37798644?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Josh</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Documentation\">📖</a> <a href=\"#question-joshuaellis\" title=\"Answering Questions\">💬</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Code\">💻</a> <a href=\"#ideas-joshuaellis\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-joshuaellis\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=joshuaellis\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Goldziher\"><img src=\"https://avatars1.githubusercontent.com/u/30733348?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Na'aman Hirschfeld</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Goldziher\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/nobrayner\"><img src=\"https://avatars2.githubusercontent.com/u/40751395?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Braydon Hall</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=nobrayner\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://dev.to/jacobmgevans\"><img src=\"https://avatars1.githubusercontent.com/u/27247160?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jacob M-G Evans</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=JacobMGEvans\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://tigerabrodi.dev/\"><img src=\"https://avatars1.githubusercontent.com/u/49603590?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tiger Abrodi</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tigerabrodi\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/merodiro\"><img src=\"https://avatars1.githubusercontent.com/u/17033502?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amr A.Mohammed</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=merodiro\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juhanakristian\"><img src=\"https://avatars1.githubusercontent.com/u/544386?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juhana Jauhiainen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=juhanakristian\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jensmeindertsma\"><img src=\"https://avatars3.githubusercontent.com/u/64677517?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jens Meindertsma</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Code\">💻</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jensmeindertsma\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marcosvega91\"><img src=\"https://avatars2.githubusercontent.com/u/5365582?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href=\"#infra-marcosvega91\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://www.parkside.at/\"><img src=\"https://avatars0.githubusercontent.com/u/27507295?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Martin V.</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ndresx\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/erozak\"><img src=\"https://avatars3.githubusercontent.com/u/22066282?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Erozak</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=erozak\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://nickmccurdy.com/\"><img src=\"https://avatars0.githubusercontent.com/u/927220?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Nick McCurdy</b></sub></a><br /><a href=\"#maintenance-nickmccurdy\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://codepen.io/aryyya/\"><img src=\"https://avatars1.githubusercontent.com/u/29365565?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Arya</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=aryyya\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://numb86.net/\"><img src=\"https://avatars1.githubusercontent.com/u/16703337?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>numb86</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=numb86\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/foray1010\"><img src=\"https://avatars3.githubusercontent.com/u/3212221?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alex Young</b></sub></a><br /><a href=\"#maintenance-foray1010\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://blam.sh/\"><img src=\"https://avatars1.githubusercontent.com/u/3645856?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ben Lambert</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=benjdlambert\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/ElRatonDeFuego\"><img src=\"https://avatars1.githubusercontent.com/u/12750934?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Cho-Lerat</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=ElRatonDeFuego\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/evanharmon\"><img src=\"https://avatars1.githubusercontent.com/u/8229989?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Evan Harmon</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=evanharmon\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://codedaily.io/\"><img src=\"https://avatars1.githubusercontent.com/u/1714673?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jason Brown</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=browniefed\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/kahwee\"><img src=\"https://avatars1.githubusercontent.com/u/262105?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>KahWee Teng</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=kahwee\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"http://shagabutdinov.com/\"><img src=\"https://avatars2.githubusercontent.com/u/1635613?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Leonid Shagabutdinov</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=shagabutdinov\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://levibutcher.dev/\"><img src=\"https://avatars2.githubusercontent.com/u/31522433?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Levi Butcher</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=LeviButcher\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/7michele7\"><img src=\"https://avatars2.githubusercontent.com/u/17926167?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michele Settepani</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=7michele7\" title=\"Documentation\">📖</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/samnoh\"><img src=\"https://avatars1.githubusercontent.com/u/14857416?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sam</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=samnoh\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/tanaypratap\"><img src=\"https://avatars0.githubusercontent.com/u/10216863?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tanay Pratap</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=tanaypratap\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/techanvil\"><img src=\"https://avatars0.githubusercontent.com/u/18395600?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Tom Rees-Herdman</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=techanvil\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iqbal125\"><img src=\"https://avatars2.githubusercontent.com/u/24860061?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>iqbal125</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=iqbal125\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/cliffzhaobupt\"><img src=\"https://avatars3.githubusercontent.com/u/7374506?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>cliffzhaobupt</b></sub></a><br /><a href=\"#maintenance-cliffzhaobupt\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jonkoops\"><img src=\"https://avatars2.githubusercontent.com/u/695720?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jon Koops</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jonkoops\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/jpeyper\"><img src=\"https://avatars2.githubusercontent.com/u/6560018?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jonathan Peyper</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Ajpeyper\" title=\"Reviewed Pull Requests\">👀</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=jpeyper\" title=\"Code\">💻</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://seanbaines.com/\"><img src=\"https://avatars.githubusercontent.com/u/24367010?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sean Baines</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mrseanbaines\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://www.linkedin.com/in/mike-vasin/\"><img src=\"https://avatars.githubusercontent.com/u/12434833?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Mikhail Vasin</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=mvasin\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://aleksandar.xyz\"><img src=\"https://avatars.githubusercontent.com/u/7226555?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Aleksandar Grbic</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=agjs\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/yoniholmes\"><img src=\"https://avatars.githubusercontent.com/u/184589?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jonathan Holmes</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=yoniholmes\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://michaeldeboey.be\"><img src=\"https://avatars.githubusercontent.com/u/6643991?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michaël De Boey</b></sub></a><br /><a href=\"#maintenance-MichaelDeBoey\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/xobotyi\"><img src=\"https://avatars.githubusercontent.com/u/6178739?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Anton Zinovyev</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Axobotyi\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=xobotyi\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/marianna-exelate\"><img src=\"https://avatars.githubusercontent.com/u/24763042?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>marianna-exelate</b></sub></a><br /><a href=\"#infra-marianna-exelate\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://matan.io\"><img src=\"https://avatars.githubusercontent.com/u/12711091?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Matan Borenkraout</b></sub></a><br /><a href=\"#maintenance-MatanBobi\" title=\"Maintenance\">🚧</a></td>\n    <td align=\"center\"><a href=\"https://github.com/andyrooger\"><img src=\"https://avatars.githubusercontent.com/u/420834?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>andyrooger</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=andyrooger\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://github.com/bdwain\"><img src=\"https://avatars.githubusercontent.com/u/3982094?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Bryan Wain</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/issues?q=author%3Abdwain\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/testing-library/react-hooks-testing-library/pulls?q=is%3Apr+reviewed-by%3Abdwain\" title=\"Reviewed Pull Requests\">👀</a></td>\n    <td align=\"center\"><a href=\"https://github.com/snowystinger\"><img src=\"https://avatars.githubusercontent.com/u/698229?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Robert Snow</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=snowystinger\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/chris110408\"><img src=\"https://avatars.githubusercontent.com/u/10645051?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Chris Chen</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=chris110408\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://www.facebook.com/masoud.bonabi\"><img src=\"https://avatars.githubusercontent.com/u/6429009?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Masious</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=masious\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Laishuxin\"><img src=\"https://avatars.githubusercontent.com/u/56504759?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Laishuxin</b></sub></a><br /><a href=\"https://github.com/testing-library/react-hooks-testing-library/commits?author=Laishuxin\" title=\"Documentation\">📖</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://allcontributors.org/) specification.\nContributions of any kind welcome!\n\n## Issues\n\n_Looking to contribute? Look for the\n[Good First Issue](https://github.com/testing-library/react-hooks-testing-library/issues?utf8=✓&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A\"good+first+issue\"+)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Acreated-desc)\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps\nmaintainers prioritize what to work on.\n\n[**See Feature Requests**](https://github.com/testing-library/react-hooks-testing-library/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+label%3Aenhancement+is%3Aopen)\n\n### ❓ Questions\n\nFor questions related to using the library, you can\n[raise issue here](https://github.com/testing-library/react-hooks-testing-library/issues/new), or\nvisit a support community:\n\n- [Discord](https://discord.gg/testing-library)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/react-hooks-testing-library)\n\n## LICENSE\n\nMIT\n","readmeFilename":"README.md"}