From a253be59c8436c2d5e7bac11844e99fbc7c13c55 Mon Sep 17 00:00:00 2001 From: Veniamin Krol <153412+vkrol@users.noreply.github.com> Date: Sat, 10 Aug 2019 16:36:12 +0300 Subject: [PATCH] Upgrade react-testing-library to 9.0.2 (#758) --- package.json | 5 ++--- yarn.lock | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 61854bac..0402673b 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@babel/plugin-transform-react-jsx": "^7.0.0", "@babel/preset-env": "^7.1.0", "@testing-library/jest-dom": "^4.0.0", - "@testing-library/react": "^8.0.4", + "@testing-library/react": "^9.0.2", "@types/create-react-class": "^15.6.0", "@types/node": "^10.0.0", "@types/prop-types": "^15.5.2", @@ -103,7 +103,6 @@ }, "jest": { "setupFilesAfterEnv": [ - "@testing-library/react/cleanup-after-each", "@testing-library/jest-dom/extend-expect", "/jest.setup.js" ], @@ -114,4 +113,4 @@ "pre-commit": "lint-staged" } } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index aa4c0e10..77f3d320 100644 --- a/yarn.lock +++ b/yarn.lock @@ -824,16 +824,16 @@ resolved "https://registry.yarnpkg.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b" integrity sha512-vTCdPp/T/Q3oSqwHmZ5Kpa9oI7iLtGl3RQaA/NyLHikvcrPxACkkKVr/XzkSPJWXHRhKGzVvb0urJsbMlRxi1Q== -"@testing-library/dom@^5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-5.6.1.tgz#705a1cb4a039b877c1e69e916824038e837ab637" - integrity sha512-Y1T2bjtvQMewffn1CJ28kpgnuvPYKsBcZMagEH0ppfEMZPDc8AkkEnTk4smrGZKw0cblNB3lhM2FMnpfLExlHg== +"@testing-library/dom@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-6.0.0.tgz#34e28e69e49bd6347fc64a5dde4c4f9aabbd17d3" + integrity sha512-B5XTz3uMsbqbdR9CZlnwpZjTE3fCWuqRkz/zvDc2Ej/vuHmTM0Ur2v0XPwr7usWfGIBsahEK5HL1E91+4IFiBg== dependencies: "@babel/runtime" "^7.5.5" "@sheerun/mutationobserver-shim" "^0.3.2" aria-query "3.0.0" pretty-format "^24.8.0" - wait-for-expect "^1.2.0" + wait-for-expect "^1.3.0" "@testing-library/jest-dom@^4.0.0": version "4.0.0" @@ -850,13 +850,13 @@ pretty-format "^24.0.0" redent "^3.0.0" -"@testing-library/react@^8.0.4": - version "8.0.9" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-8.0.9.tgz#1ecd96bc3471b06dd2f9763b6e53a7ace28a54a2" - integrity sha512-I7zd+MW5wk8rQA5VopZgBfxGKUd91jgZ6Vzj2gMqFf2iGGtKwvI5SVTrIJcSFaOXK88T2EUsbsIKugDtoqOcZQ== +"@testing-library/react@^9.0.2": + version "9.0.2" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-9.0.2.tgz#6164cef63e9cd1a721ca8d5f2edd23e6387057d2" + integrity sha512-bM7NczdgG9p/Uni5kTAACU8ofuwbLsI4X8bKjuUAxnrQ+fX2XMbo2juur1sYn9wcNReStxbZIXAwcRcUBi5aug== dependencies: "@babel/runtime" "^7.5.5" - "@testing-library/dom" "^5.6.1" + "@testing-library/dom" "^6.0.0" "@types/create-react-class@^15.6.0": version "15.6.2" @@ -9992,7 +9992,7 @@ w3c-hr-time@^1.0.1: dependencies: browser-process-hrtime "^0.1.2" -wait-for-expect@^1.2.0: +wait-for-expect@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-1.3.0.tgz#65241ce355425f907f5d127bdb5e72c412ff830c" integrity sha512-8fJU7jiA96HfGPt+P/UilelSAZfhMBJ52YhKzlmZQvKEZU2EcD1GQ0yqGB6liLdHjYtYAoGVigYwdxr5rktvzA==