{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/enzyme/issues/637","repository_url":"https://api.github.com/repos/airbnb/enzyme","labels_url":"https://api.github.com/repos/airbnb/enzyme/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/enzyme/issues/637/comments","events_url":"https://api.github.com/repos/airbnb/enzyme/issues/637/events","html_url":"https://github.com/airbnb/enzyme/issues/637","id":183996706,"number":637,"title":"Warning: You are manually calling a React.PropTypes in shallow or mount rendering without react-addons-test-utils installed","user":{"login":"dbertella","id":2563196,"avatar_url":"https://avatars.githubusercontent.com/u/2563196?v=3","gravatar_id":"","url":"https://api.github.com/users/dbertella","html_url":"https://github.com/dbertella","followers_url":"https://api.github.com/users/dbertella/followers","following_url":"https://api.github.com/users/dbertella/following{/other_user}","gists_url":"https://api.github.com/users/dbertella/gists{/gist_id}","starred_url":"https://api.github.com/users/dbertella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbertella/subscriptions","organizations_url":"https://api.github.com/users/dbertella/orgs","repos_url":"https://api.github.com/users/dbertella/repos","events_url":"https://api.github.com/users/dbertella/events{/privacy}","received_events_url":"https://api.github.com/users/dbertella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-19T15:33:08Z","updated_at":"2016-10-28T19:43:49Z","closed_at":null,"body":"I'm using create-react-app so I have Jest configured and I added enzyme.\r\n\r\nI had a warning for every PropTypes in my component but I found out that installing react-addons-test-utils clear those warnings. \r\nI didn't have any clue from npm asking for installing it. And googoling it there wasn't anybody talking about it. [#587](https://github.com/airbnb/enzyme/issues/587) issue is realted but it isn't really clear the solution and it was about react native.\r\n\r\nHope this can help someone else in this situation."},"comment":{"url":"https://api.github.com/repos/airbnb/enzyme/issues/comments/257010897","html_url":"https://github.com/airbnb/enzyme/issues/637#issuecomment-257010897","issue_url":"https://api.github.com/repos/airbnb/enzyme/issues/637","id":257010897,"user":{"login":"vjwilson","id":715729,"avatar_url":"https://avatars.githubusercontent.com/u/715729?v=3","gravatar_id":"","url":"https://api.github.com/users/vjwilson","html_url":"https://github.com/vjwilson","followers_url":"https://api.github.com/users/vjwilson/followers","following_url":"https://api.github.com/users/vjwilson/following{/other_user}","gists_url":"https://api.github.com/users/vjwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/vjwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjwilson/subscriptions","organizations_url":"https://api.github.com/users/vjwilson/orgs","repos_url":"https://api.github.com/users/vjwilson/repos","events_url":"https://api.github.com/users/vjwilson/events{/privacy}","received_events_url":"https://api.github.com/users/vjwilson/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T19:43:49Z","updated_at":"2016-10-28T19:43:49Z","body":"@dbertella , \r\n\r\nYeah, the docs aren't explicit about test-utils being a dependency, but it is mentioned in this article about Enzyme:\r\nhttps://semaphoreci.com/community/tutorials/testing-react-components-with-enzyme-and-mocha\r\n\r\nNot sure what comes with create-react-app (I think jsdom comes with Jest), but I would always install Enzyme and test-utils in tandem:\r\n\r\n        npm install --save-dev react-addons-test-utils enzyme\r\n\r\n"}}
{"actor":{"display_login":"vjwilson"}}