diff --git a/package.json b/package.json index 3926801d..925a70eb 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "npm-run-all": "^4.1.5", "prettier": "1.17.0", "react-test-renderer": "^16.8.4", - "react-testing-library": "^6.0.0", + "react-testing-library": "^7.0.0", "rimraf": "^2.6.3", "start-server-and-test": "^1.7.11", "stylelint": "^9.10.1", diff --git a/yarn.lock b/yarn.lock index 42162033..458d4932 100644 --- a/yarn.lock +++ b/yarn.lock @@ -710,7 +710,7 @@ dependencies: regenerator-runtime "^0.12.0" -"@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.3.4": +"@babel/runtime@^7.2.0": version "7.3.4" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83" integrity sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g== @@ -4563,16 +4563,6 @@ dom-serializer@0: domelementtype "~1.1.1" entities "~1.1.1" -dom-testing-library@^3.13.1: - version "3.17.1" - resolved "https://registry.yarnpkg.com/dom-testing-library/-/dom-testing-library-3.17.1.tgz#3291bc3cf68c555ba5e663697ee77d604aaa122b" - integrity sha512-SbkaRfQvuLjnv+xFgSo/cmKoN9tjBL6Rh1f3nQH9jnjUe5q+keRwacYSi3uSpcB4D1K768iavCayKH3ZN9ea+g== - dependencies: - "@babel/runtime" "^7.3.4" - "@sheerun/mutationobserver-shim" "^0.3.2" - pretty-format "^24.0.0" - wait-for-expect "^1.1.0" - dom-testing-library@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/dom-testing-library/-/dom-testing-library-4.0.1.tgz#f21ef42aea0bd635969b4227a487e4704dbea735" @@ -10376,13 +10366,13 @@ react-test-renderer@^16.8.4: react-is "^16.8.4" scheduler "^0.13.4" -react-testing-library@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/react-testing-library/-/react-testing-library-6.0.0.tgz#81edfcfae8a795525f48685be9bf561df45bb35d" - integrity sha512-h0h+YLe4KWptK6HxOMnoNN4ngu3W8isrwDmHjPC5gxc+nOZOCurOvbKVYCvvuAw91jdO7VZSm/5KR7TxKnz0qA== +react-testing-library@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/react-testing-library/-/react-testing-library-7.0.0.tgz#d3b535e44de94d7b0a83c56cd2e3cfed752dcec1" + integrity sha512-8SHqwG+uhN9VhAgNVkVa3f7VjTw/L5CIaoAxKmy+EZuDQ6O+VsfcpRAyUw3MDL1h8S/gGrEiazmHBVL/uXsftA== dependencies: - "@babel/runtime" "^7.3.1" - dom-testing-library "^3.13.1" + "@babel/runtime" "^7.4.3" + dom-testing-library "^4.0.0" react-textarea-autosize@^7.1.0: version "7.1.0" @@ -12975,11 +12965,6 @@ w3c-hr-time@^1.0.1: dependencies: browser-process-hrtime "^0.1.2" -wait-for-expect@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-1.1.0.tgz#6607375c3f79d32add35cd2c87ce13f351a3d453" - integrity sha512-vQDokqxyMyknfX3luCDn16bSaRcOyH6gGuUXMIbxBLeTo6nWuEWYqMTT9a+44FmW8c2m6TRWBdNvBBjA1hwEKg== - wait-for-expect@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-1.1.1.tgz#9cd10e07d52810af9e0aaf509872e38f3c3d81ae"