From ed39535b8dedde30db99d512d72c14a26ae6b1ce Mon Sep 17 00:00:00 2001 From: guyfedwards Date: Mon, 24 Sep 2018 11:34:02 +0100 Subject: [PATCH] bug fixed upstream removes need for message no need to pass message now just to satisfy issue in upstream lib jest-styled-components upstream issue: https://github.com/styled-components/jest-styled-components/issues/189 --- package.json | 2 +- src/components/Input/Input.test.js | 2 -- yarn.lock | 6 +++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index bb4ca14f..1a98820b 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "highlight.js": "9.12.0", "html-webpack-plugin": "2.24.1", "jest": "23.6.0", - "jest-styled-components": "6.2.0", + "jest-styled-components": "6.2.1", "json-loader": "0.5.4", "less": "2.7.2", "lodash": "4.17.10", diff --git a/src/components/Input/Input.test.js b/src/components/Input/Input.test.js index 6852b2a9..f9bdd4b5 100644 --- a/src/components/Input/Input.test.js +++ b/src/components/Input/Input.test.js @@ -63,8 +63,6 @@ describe('', () => { it('should remove validation message from the DOM when hideValidationMessage=true', () => { props = { hideValidationMessage: true, - // https://github.com/styled-components/jest-styled-components/issues/189 - message: 'Derp!', }; wrapper = mount(withTheme()); diff --git a/yarn.lock b/yarn.lock index 6372b1a5..54446f26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4672,9 +4672,9 @@ jest-snapshot@^23.6.0: pretty-format "^23.6.0" semver "^5.5.0" -jest-styled-components@6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/jest-styled-components/-/jest-styled-components-6.2.0.tgz#a8cbb39ff21a968e11a154c60b6e8c7b284595ff" +jest-styled-components@6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/jest-styled-components/-/jest-styled-components-6.2.1.tgz#63d28c6bf637977509f0e6a57bff0a10f44a48e3" dependencies: css "^2.2.4"