{"action":"created","comment":{"url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/comments/115148329","pull_request_review_id":36668854,"id":115148329,"diff_hunk":"@@ -1,38 +1,33 @@\n import { expect } from 'chai';\n-import sourcestore from '../src/scripts/stores/sourcestores';\n-import dispatcher from '../src/scripts/dispatcher/dispatcher';\n-import constants from '../src/scripts/constants/constants';\n-\n-const data = [\n-    { id: 'abc-news-au', name: 'ABC News (AU)' },\n-    { id: 'yahoo', name: 'Yahoo news' },\n-    { id: 'bella-niger', name: 'Bella' },\n-    { id: 'bella-niger', name: 'Bella' },\n-];\n+import Sourcestore from '../src/stores/Sourcestores';\n+import Dispatcher from '../src/dispatcher/Dispatcher';\n+import Constants from '../src/constants/Constants';\n+import { Source } from './test-data';\n \n describe('source store', () => {\n+  const data = Source;\n   it('it should initialize with no data', () => {\n-    const noData = sourcestore.getSource();\n+    const noData = Sourcestore.getSource();\n     expect(noData).to.be.empty;\n   });\n   it('it should recieve dispached data', () => {\n-    dispatcher.dispatch({\n-      type: constants.getsource,\n+    Dispatcher.dispatch({\n+      type: Constants.getsource,\n       data,\n     });\n-    expect(sourcestore.getSource()).to.equal(data);\n-    expect(sourcestore.getSource()).to.not.be.empty;\n-    expect(sourcestore.getSource()[0].id).to.equal('abc-news-au');\n+    expect(Sourcestore.getSource()).to.equal(data);\n+    expect(Sourcestore.getSource()).to.not.be.empty;","path":"test/sourcestore-test.js","position":35,"original_position":35,"commit_id":"96d845f8d096de20f3be51da54c0f41b33c72cd8","original_commit_id":"96d845f8d096de20f3be51da54c0f41b33c72cd8","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.githubusercontent.com/u/6697940?v=3","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 an assignment or function call and instead saw an expression  no-unused-expressions","created_at":"2017-05-07T17:01:50Z","updated_at":"2017-05-07T17:01:51Z","html_url":"https://github.com/andela-ojoloko/CP1-News-feed-application/pull/10#discussion_r115148329","pull_request_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/comments/115148329"},"html":{"href":"https://github.com/andela-ojoloko/CP1-News-feed-application/pull/10#discussion_r115148329"},"pull_request":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10","id":119346023,"html_url":"https://github.com/andela-ojoloko/CP1-News-feed-application/pull/10","diff_url":"https://github.com/andela-ojoloko/CP1-News-feed-application/pull/10.diff","patch_url":"https://github.com/andela-ojoloko/CP1-News-feed-application/pull/10.patch","issue_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/10","number":10,"state":"open","locked":false,"title":"[Feature #144996283] Added Images","user":{"login":"andela-ojoloko","id":26963347,"avatar_url":"https://avatars3.githubusercontent.com/u/26963347?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ojoloko","html_url":"https://github.com/andela-ojoloko","followers_url":"https://api.github.com/users/andela-ojoloko/followers","following_url":"https://api.github.com/users/andela-ojoloko/following{/other_user}","gists_url":"https://api.github.com/users/andela-ojoloko/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ojoloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ojoloko/subscriptions","organizations_url":"https://api.github.com/users/andela-ojoloko/orgs","repos_url":"https://api.github.com/users/andela-ojoloko/repos","events_url":"https://api.github.com/users/andela-ojoloko/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ojoloko/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n  itim\r\n#### Description of Task to be completed?\r\n#### How should this be manually tested?\r\n#### Any background context you want to provide?\r\n#### What are the relevant pivotal tracker stories?\r\n#### Screenshots (if appropriate)\r\n#### Questions:","created_at":"2017-05-07T17:01:28Z","updated_at":"2017-05-07T17:01:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76a12fe598ee885ba27e1e047a753756c10b95d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10/commits","review_comments_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10/comments","review_comment_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/10/comments","statuses_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/statuses/96d845f8d096de20f3be51da54c0f41b33c72cd8","head":{"label":"andela-ojoloko:ft-Implement-Feedback-144996283","ref":"ft-Implement-Feedback-144996283","sha":"96d845f8d096de20f3be51da54c0f41b33c72cd8","user":{"login":"andela-ojoloko","id":26963347,"avatar_url":"https://avatars3.githubusercontent.com/u/26963347?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ojoloko","html_url":"https://github.com/andela-ojoloko","followers_url":"https://api.github.com/users/andela-ojoloko/followers","following_url":"https://api.github.com/users/andela-ojoloko/following{/other_user}","gists_url":"https://api.github.com/users/andela-ojoloko/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ojoloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ojoloko/subscriptions","organizations_url":"https://api.github.com/users/andela-ojoloko/orgs","repos_url":"https://api.github.com/users/andela-ojoloko/repos","events_url":"https://api.github.com/users/andela-ojoloko/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ojoloko/received_events","type":"User","site_admin":false},"repo":{"id":88794682,"name":"CP1-News-feed-application","full_name":"andela-ojoloko/CP1-News-feed-application","owner":{"login":"andela-ojoloko","id":26963347,"avatar_url":"https://avatars3.githubusercontent.com/u/26963347?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ojoloko","html_url":"https://github.com/andela-ojoloko","followers_url":"https://api.github.com/users/andela-ojoloko/followers","following_url":"https://api.github.com/users/andela-ojoloko/following{/other_user}","gists_url":"https://api.github.com/users/andela-ojoloko/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ojoloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ojoloko/subscriptions","organizations_url":"https://api.github.com/users/andela-ojoloko/orgs","repos_url":"https://api.github.com/users/andela-ojoloko/repos","events_url":"https://api.github.com/users/andela-ojoloko/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ojoloko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-ojoloko/CP1-News-feed-application","description":null,"fork":false,"url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application","forks_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/forks","keys_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/teams","hooks_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/hooks","issue_events_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/events{/number}","events_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/events","assignees_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/assignees{/user}","branches_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/branches{/branch}","tags_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/tags","blobs_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/languages","stargazers_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/stargazers","contributors_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/contributors","subscribers_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/subscribers","subscription_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/subscription","commits_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/contents/{+path}","compare_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/merges","archive_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/downloads","issues_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues{/number}","pulls_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/labels{/name}","releases_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/releases{/id}","deployments_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/deployments","created_at":"2017-04-19T22:00:19Z","updated_at":"2017-05-01T15:01:54Z","pushed_at":"2017-05-07T17:01:28Z","git_url":"git://github.com/andela-ojoloko/CP1-News-feed-application.git","ssh_url":"git@github.com:andela-ojoloko/CP1-News-feed-application.git","clone_url":"https://github.com/andela-ojoloko/CP1-News-feed-application.git","svn_url":"https://github.com/andela-ojoloko/CP1-News-feed-application","homepage":null,"size":2246,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela-ojoloko:develop","ref":"develop","sha":"81eefe41b7029ef125480d8ed7ae5d7076c9987f","user":{"login":"andela-ojoloko","id":26963347,"avatar_url":"https://avatars3.githubusercontent.com/u/26963347?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ojoloko","html_url":"https://github.com/andela-ojoloko","followers_url":"https://api.github.com/users/andela-ojoloko/followers","following_url":"https://api.github.com/users/andela-ojoloko/following{/other_user}","gists_url":"https://api.github.com/users/andela-ojoloko/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ojoloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ojoloko/subscriptions","organizations_url":"https://api.github.com/users/andela-ojoloko/orgs","repos_url":"https://api.github.com/users/andela-ojoloko/repos","events_url":"https://api.github.com/users/andela-ojoloko/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ojoloko/received_events","type":"User","site_admin":false},"repo":{"id":88794682,"name":"CP1-News-feed-application","full_name":"andela-ojoloko/CP1-News-feed-application","owner":{"login":"andela-ojoloko","id":26963347,"avatar_url":"https://avatars3.githubusercontent.com/u/26963347?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ojoloko","html_url":"https://github.com/andela-ojoloko","followers_url":"https://api.github.com/users/andela-ojoloko/followers","following_url":"https://api.github.com/users/andela-ojoloko/following{/other_user}","gists_url":"https://api.github.com/users/andela-ojoloko/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ojoloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ojoloko/subscriptions","organizations_url":"https://api.github.com/users/andela-ojoloko/orgs","repos_url":"https://api.github.com/users/andela-ojoloko/repos","events_url":"https://api.github.com/users/andela-ojoloko/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ojoloko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-ojoloko/CP1-News-feed-application","description":null,"fork":false,"url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application","forks_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/forks","keys_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/teams","hooks_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/hooks","issue_events_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/events{/number}","events_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/events","assignees_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/assignees{/user}","branches_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/branches{/branch}","tags_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/tags","blobs_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/languages","stargazers_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/stargazers","contributors_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/contributors","subscribers_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/subscribers","subscription_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/subscription","commits_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/contents/{+path}","compare_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/merges","archive_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/downloads","issues_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues{/number}","pulls_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/labels{/name}","releases_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/releases{/id}","deployments_url":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/deployments","created_at":"2017-04-19T22:00:19Z","updated_at":"2017-05-01T15:01:54Z","pushed_at":"2017-05-07T17:01:28Z","git_url":"git://github.com/andela-ojoloko/CP1-News-feed-application.git","ssh_url":"git@github.com:andela-ojoloko/CP1-News-feed-application.git","clone_url":"https://github.com/andela-ojoloko/CP1-News-feed-application.git","svn_url":"https://github.com/andela-ojoloko/CP1-News-feed-application","homepage":null,"size":2246,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10"},"html":{"href":"https://github.com/andela-ojoloko/CP1-News-feed-application/pull/10"},"issue":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/10"},"comments":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/andela-ojoloko/CP1-News-feed-application/statuses/96d845f8d096de20f3be51da54c0f41b33c72cd8"}}}}
{"actor":{"display_login":"houndci-bot"}}