diff --git a/package.json b/package.json index 5f1de32a..c9d3502a 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@rollup/plugin-node-resolve": "11.2.1", "@testing-library/jest-dom": "5.12.0", "@testing-library/react": "11.2.6", - "@testing-library/react-hooks": "5.1.2", + "@testing-library/react-hooks": "7.0.1", "@testing-library/user-event": "13.1.5", "autoprefixer": "9.8.6", "babel-eslint": "^10.1.0", diff --git a/yarn.lock b/yarn.lock index b9680e72..e1e2485c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2334,16 +2334,15 @@ lodash "^4.17.15" redent "^3.0.0" -"@testing-library/react-hooks@5.1.2": - version "5.1.2" - resolved "https://registry.yarnpkg.com/@testing-library/react-hooks/-/react-hooks-5.1.2.tgz#36e359d992bb652a9885c6fa9aa394639cbe8dd3" - integrity sha512-jwhtDYZ5gQUIX8cmVCVdtwNvuF5EiCOWjokRlTV+o/V0GdtRZDykUllL1OXq5PS4+J33wGLNQeeWzEHcWrH7tg== +"@testing-library/react-hooks@7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@testing-library/react-hooks/-/react-hooks-7.0.1.tgz#8429d8bf55bfe82e486bd582dd06457c2464900a" + integrity sha512-bpEQ2SHSBSzBmfJ437NmnP+oArQ7aVmmULiAp6Ag2rtyLBLPNFSMmgltUbFGmQOJdPWo4Ub31kpUC5T46zXNwQ== dependencies: "@babel/runtime" "^7.12.5" "@types/react" ">=16.9.0" "@types/react-dom" ">=16.9.0" "@types/react-test-renderer" ">=16.9.0" - filter-console "^0.1.1" react-error-boundary "^3.1.0" "@testing-library/react@11.2.6": @@ -7770,11 +7769,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -filter-console@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/filter-console/-/filter-console-0.1.1.tgz#6242be28982bba7415bcc6db74a79f4a294fa67c" - integrity sha512-zrXoV1Uaz52DqPs+qEwNJWJFAWZpYJ47UNmpN9q4j+/EYsz85uV0DC9k8tRND5kYmoVzL0W+Y75q4Rg8sRJCdg== - finalhandler@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"