{"action":"created","issue":{"url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/53","repository_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react","labels_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/53/comments","events_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/53/events","html_url":"https://github.com/rwieruch/the-road-to-learn-react/issues/53","id":238502164,"number":53,"title":"Tests pass but display console log errors","user":{"login":"Fenwick17","id":11258920,"avatar_url":"https://avatars3.githubusercontent.com/u/11258920?v=3","gravatar_id":"","url":"https://api.github.com/users/Fenwick17","html_url":"https://github.com/Fenwick17","followers_url":"https://api.github.com/users/Fenwick17/followers","following_url":"https://api.github.com/users/Fenwick17/following{/other_user}","gists_url":"https://api.github.com/users/Fenwick17/gists{/gist_id}","starred_url":"https://api.github.com/users/Fenwick17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fenwick17/subscriptions","organizations_url":"https://api.github.com/users/Fenwick17/orgs","repos_url":"https://api.github.com/users/Fenwick17/repos","events_url":"https://api.github.com/users/Fenwick17/events{/privacy}","received_events_url":"https://api.github.com/users/Fenwick17/received_events","type":"User","site_admin":false},"labels":[{"id":408280610,"url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-26T10:30:36Z","updated_at":"2017-06-26T20:54:29Z","closed_at":null,"body":"Test Suite, Tests and Snapshots all correctly pass but terminal shows multiple console log errors.  \r\n`console.error node_modules/fbjs/lib/warning.js:36\r\n    Warning: Failed prop type: The prop value is marked as required in Search, but its value is undefined.\r\n        in Search (at App.test.js:26`\r\n\r\n  `console.error node_modules/fbjs/lib/warning.js:36\r\n    Warning: Failed prop type: The prop onChange is marked as required in Search, but its value is undefined.\r\n        in Search (at App.test.js:26)`\r\n\r\n  `console.error node_modules/fbjs/lib/warning.js:36\r\n    Warning: Failed prop type: The prop onSubmit is marked as required in Search, but its value is undefined.\r\n        in Search (at App.test.js:26)`\r\n\r\n  `console.error node_modules/fbjs/lib/warning.js:36\r\n    Warning: Failed prop type: The prop `onClick` is marked as required in Button, but its value is undefined.\r\n        in Button (at App.test.js:42)`\r\n\r\n  `console.error node_modules/fbjs/lib/warning.js:36\r\n    Warning: Failed prop type: The prop onDismiss is marked as required in Table, but its value is undefined.\r\n        in Table (at App.test.js:64)`  \r\n\r\nAll packages listed in the book have been installed. "},"comment":{"url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/comments/311179110","html_url":"https://github.com/rwieruch/the-road-to-learn-react/issues/53#issuecomment-311179110","issue_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/53","id":311179110,"user":{"login":"rwieruch","id":2479967,"avatar_url":"https://avatars3.githubusercontent.com/u/2479967?v=3","gravatar_id":"","url":"https://api.github.com/users/rwieruch","html_url":"https://github.com/rwieruch","followers_url":"https://api.github.com/users/rwieruch/followers","following_url":"https://api.github.com/users/rwieruch/following{/other_user}","gists_url":"https://api.github.com/users/rwieruch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwieruch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwieruch/subscriptions","organizations_url":"https://api.github.com/users/rwieruch/orgs","repos_url":"https://api.github.com/users/rwieruch/repos","events_url":"https://api.github.com/users/rwieruch/events{/privacy}","received_events_url":"https://api.github.com/users/rwieruch/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T20:54:29Z","updated_at":"2017-06-26T20:54:29Z","body":"I see. Nothing to worry about @Fenwick17 You defined PropTypes for your components, such as:\r\n\r\n```\r\nSearch.propTypes = {\r\n  value: PropTypes.string.isRequired,\r\n  onChange: PropTypes.func.isRequired,\r\n  onSubmit: PropTypes.func.isRequired,\r\n  children: PropTypes.node.isRequired,\r\n}\r\n```\r\n\r\n and don't pass these props in your tests to the component. I should definitely update it since it shows up in the test log (which it didn't a few updates before). Sorry for this!"}}
{"actor":{"display_login":"rwieruch"}}