{"action":"created","comment":{"url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/comments/222939202","pull_request_review_id":161948898,"id":222939202,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjkzOTIwMg==","diff_hunk":"@@ -0,0 +1,30 @@\n+import configureStore from 'redux-mock-store';\n+\n+//For passing the middlewares\n+const mockStore = configureStore();\n+//Init the mockstore with an empty state\n+const initialState ={}\n+const store = mockStore(initialState);\n+//creating an actionType\n+const expectedAction = type => ({\n+    type,\n+});\n+\n+describe('Reducer dispatchers for articles', () => {\n+    //Add article\n+    it('should dispatch an add article action', () => {\n+\n+    });\n+    //Edit article\n+    it('should dispatch an edit article action', () => {\n+\n+    });\n+    //Delete article\n+    it('should dispatch a delete article action', () => {\n+\n+    });","path":"src/containers/Articles/reducer.test.js","position":25,"original_position":25,"commit_id":"0f80158bdac7e6b1d4c35a699ac71117d0331ce3","original_commit_id":"0f80158bdac7e6b1d4c35a699ac71117d0331ce3","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected indentation of 2 spaces but found 4                  indent","created_at":"2018-10-05T09:08:07Z","updated_at":"2018-10-05T09:08:08Z","html_url":"https://github.com/andela/ah-leagueOfLegends-frontend/pull/7#discussion_r222939202","pull_request_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/comments/222939202"},"html":{"href":"https://github.com/andela/ah-leagueOfLegends-frontend/pull/7#discussion_r222939202"},"pull_request":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7","id":220532328,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNTMyMzI4","html_url":"https://github.com/andela/ah-leagueOfLegends-frontend/pull/7","diff_url":"https://github.com/andela/ah-leagueOfLegends-frontend/pull/7.diff","patch_url":"https://github.com/andela/ah-leagueOfLegends-frontend/pull/7.patch","issue_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/7","number":7,"state":"open","locked":false,"title":"#159965431 Write tests for all functionality/components created.","user":{"login":"rethes","id":27001310,"node_id":"MDQ6VXNlcjI3MDAxMzEw","avatar_url":"https://avatars2.githubusercontent.com/u/27001310?v=4","gravatar_id":"","url":"https://api.github.com/users/rethes","html_url":"https://github.com/rethes","followers_url":"https://api.github.com/users/rethes/followers","following_url":"https://api.github.com/users/rethes/following{/other_user}","gists_url":"https://api.github.com/users/rethes/gists{/gist_id}","starred_url":"https://api.github.com/users/rethes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rethes/subscriptions","organizations_url":"https://api.github.com/users/rethes/orgs","repos_url":"https://api.github.com/users/rethes/repos","events_url":"https://api.github.com/users/rethes/events{/privacy}","received_events_url":"https://api.github.com/users/rethes/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n```\r\nAdd tests for React/Redux Authors Haven Functionality.\r\n```\r\n\r\n## Description of Task to be completed?\r\n```\r\nSets up enzyme testing framework\r\nAdd boilerplate tests for functionality/components \r\n```\r\n\r\n## How should this be manually tested?\r\n```\r\n1. Clone the repository\r\n2. Check out the branch ch-write-tests-159965431 \r\n3. Run the command `yarn test` and for coverage run `yarn test --coverage`\r\n```\r\n\r\n## What are the relevant pivotal tracker stories?\r\n[#159965431](https://www.pivotaltracker.com/story/show/159965431)\r\n\r\n## Screenshots if available to support PR.\r\n\r\nRun Yarn test\r\n<img width=\"1205\" alt=\"yarn test\" src=\"https://user-images.githubusercontent.com/27001310/46505527-03127600-c83a-11e8-939b-a7a127414dc7.png\">\r\n\r\nRun Yarn test with coverage\r\n<img width=\"1208\" alt=\"test with coverage\" src=\"https://user-images.githubusercontent.com/27001310/46505817-f80c1580-c83a-11e8-8ca1-8b1f17ed52d3.png\">\r\n\r\n\r\n## Questions:\r\n```\r\nWas this PR helpful ??? \r\n```","created_at":"2018-10-04T22:08:46Z","updated_at":"2018-10-05T09:08:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7b2c7429183db59b6a4828f0b433bb3adb3f875","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7/commits","review_comments_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7/comments","review_comment_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/7/comments","statuses_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/statuses/0f80158bdac7e6b1d4c35a699ac71117d0331ce3","head":{"label":"andela:ch-write-tests-159965431","ref":"ch-write-tests-159965431","sha":"0f80158bdac7e6b1d4c35a699ac71117d0331ce3","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":151223608,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjM2MDg=","name":"ah-leagueOfLegends-frontend","full_name":"andela/ah-leagueOfLegends-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-leagueOfLegends-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend","forks_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/forks","keys_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/teams","hooks_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/events","assignees_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/tags","blobs_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/subscription","commits_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/merges","archive_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/downloads","issues_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/deployments","created_at":"2018-10-02T08:28:58Z","updated_at":"2018-10-04T17:20:43Z","pushed_at":"2018-10-05T09:07:47Z","git_url":"git://github.com/andela/ah-leagueOfLegends-frontend.git","ssh_url":"git@github.com:andela/ah-leagueOfLegends-frontend.git","clone_url":"https://github.com/andela/ah-leagueOfLegends-frontend.git","svn_url":"https://github.com/andela/ah-leagueOfLegends-frontend","homepage":null,"size":793,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"91e8c0f2bb9dc0366c1cbbf881405664b25e315a","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":151223608,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjM2MDg=","name":"ah-leagueOfLegends-frontend","full_name":"andela/ah-leagueOfLegends-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-leagueOfLegends-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend","forks_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/forks","keys_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/teams","hooks_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/events","assignees_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/tags","blobs_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/subscription","commits_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/merges","archive_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/downloads","issues_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/deployments","created_at":"2018-10-02T08:28:58Z","updated_at":"2018-10-04T17:20:43Z","pushed_at":"2018-10-05T09:07:47Z","git_url":"git://github.com/andela/ah-leagueOfLegends-frontend.git","ssh_url":"git@github.com:andela/ah-leagueOfLegends-frontend.git","clone_url":"https://github.com/andela/ah-leagueOfLegends-frontend.git","svn_url":"https://github.com/andela/ah-leagueOfLegends-frontend","homepage":null,"size":793,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7"},"html":{"href":"https://github.com/andela/ah-leagueOfLegends-frontend/pull/7"},"issue":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/7"},"comments":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-leagueOfLegends-frontend/statuses/0f80158bdac7e6b1d4c35a699ac71117d0331ce3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}