Skip to content

Commit

Permalink
bug fixed upstream removes need for message
Browse files Browse the repository at this point in the history
no need to pass message now just to satisfy issue in upstream lib
jest-styled-components

upstream issue: styled-components/jest-styled-components#189
  • Loading branch information
guyfedwards committed Sep 24, 2018
1 parent 9cb3edf commit ed39535
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions src/components/Input/Input.test.js
Expand Up @@ -63,8 +63,6 @@ describe('<Input />', () => {
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(<Input {...props} />));

Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -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"

Expand Down

0 comments on commit ed39535

Please sign in to comment.