{"action":"created","comment":{"url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/comments/191039411","pull_request_review_id":123547101,"id":191039411,"diff_hunk":"@@ -0,0 +1,64 @@\n+import React from 'react';\n+import MainContent from '../../components/main-content'\n+import { shallow } from 'enzyme';\n+\n+describe('ConfirmEmail', () => {\n+  it('should render correctly', () => {\n+    const wrapper = shallow( <MainContent /> );\n+    expect(wrapper).toMatchSnapshot()\n+  })\n+\n+  describe('when a token is present', () => {\n+    let token = '123'\n+\n+    describe('when the status is processing', () => {\n+      let status = 'processing',\n+          confirmed = () => {}\n+\n+      it('should show the confirming email message', () => {\n+        const wrapper = shallow(<MainContent {...{status, confirmed, token}} />)\n+        expect(wrapper.find('p').length).toEqual(1)\n+        expect(wrapper.find('p').text()).toEqual('Confirming your email, please wait....')\n+      })\n+    })\n+\n+    describe('when the status is failed', () => {\n+      let status = 'failed',\n+        confirmed = () => {}\n+\n+      it('should show the confirming email message', () => {\n+        const wrapper = shallow(<MainContent {...{status, confirmed, token}} />)\n+        expect(wrapper.find('p').length).toEqual(1)\n+        expect(wrapper.find('p').text()).toEqual('Your email confirmation failed. Please request for a new one.')\n+      })\n+    })\n+\n+    describe('when the token is confirmed', () => {\n+      let status = 'confirmed',\n+        confirmed = () => true\n+\n+      it('should show a confirmation message', () => {\n+        const wrapper = shallow(<MainContent {...{status, confirmed, token}} />)\n+        expect(wrapper.find('p').length).toEqual(1)\n+        expect(wrapper.find('p').text()).toContain('Your email is confirmed!')\n+      })\n+    })\n+  })\n+\n+  describe('when a token is absent', () => {","path":"src/js/components/user/scenes/confirm-email/__tests__/components/MainContent.spec.js","position":48,"original_position":48,"commit_id":"7b31b49eff62e4b3016de57e7ce3f1bd38cac426","original_commit_id":"7b31b49eff62e4b3016de57e7ce3f1bd38cac426","user":{"login":"houndci-bot","id":6697940,"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":"'describe' is not defined                no-undef","created_at":"2018-05-26T04:29:02Z","updated_at":"2018-05-26T04:29:04Z","html_url":"https://github.com/TechMeetupsNG/eventplog/pull/16#discussion_r191039411","pull_request_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/comments/191039411"},"html":{"href":"https://github.com/TechMeetupsNG/eventplog/pull/16#discussion_r191039411"},"pull_request":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16","id":190724994,"html_url":"https://github.com/TechMeetupsNG/eventplog/pull/16","diff_url":"https://github.com/TechMeetupsNG/eventplog/pull/16.diff","patch_url":"https://github.com/TechMeetupsNG/eventplog/pull/16.patch","issue_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/16","number":16,"state":"open","locked":false,"title":"Initial app deploy","user":{"login":"innocentamadi","id":12391897,"avatar_url":"https://avatars3.githubusercontent.com/u/12391897?v=4","gravatar_id":"","url":"https://api.github.com/users/innocentamadi","html_url":"https://github.com/innocentamadi","followers_url":"https://api.github.com/users/innocentamadi/followers","following_url":"https://api.github.com/users/innocentamadi/following{/other_user}","gists_url":"https://api.github.com/users/innocentamadi/gists{/gist_id}","starred_url":"https://api.github.com/users/innocentamadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innocentamadi/subscriptions","organizations_url":"https://api.github.com/users/innocentamadi/orgs","repos_url":"https://api.github.com/users/innocentamadi/repos","events_url":"https://api.github.com/users/innocentamadi/events{/privacy}","received_events_url":"https://api.github.com/users/innocentamadi/received_events","type":"User","site_admin":false},"body":"This deployment implements two epics:\r\n* Charles can sign up and log in by filling a form orusing google or Facebook.\r\n* Charles can reset his password by clicking on the reset password link.","created_at":"2018-05-26T04:27:49Z","updated_at":"2018-05-26T04:29:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a8ac2538232433b52c58646d0a56881cc49440d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":943461365,"url":"https://api.github.com/repos/TechMeetupsNG/eventplog/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16/commits","review_comments_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16/comments","review_comment_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/16/comments","statuses_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/statuses/7b31b49eff62e4b3016de57e7ce3f1bd38cac426","head":{"label":"TechMeetupsNG:develop","ref":"develop","sha":"7b31b49eff62e4b3016de57e7ce3f1bd38cac426","user":{"login":"TechMeetupsNG","id":33851215,"avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"repo":{"id":133293790,"name":"eventplog","full_name":"TechMeetupsNG/eventplog","owner":{"login":"TechMeetupsNG","id":33851215,"avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechMeetupsNG/eventplog","description":"Helping organizers and guests work together to create meaningful meetups.","fork":false,"url":"https://api.github.com/repos/TechMeetupsNG/eventplog","forks_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/forks","keys_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/teams","hooks_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/hooks","issue_events_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/events{/number}","events_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/events","assignees_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/assignees{/user}","branches_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/branches{/branch}","tags_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/tags","blobs_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/statuses/{sha}","languages_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/languages","stargazers_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/stargazers","contributors_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/contributors","subscribers_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/subscribers","subscription_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/subscription","commits_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/contents/{+path}","compare_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/merges","archive_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/downloads","issues_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues{/number}","pulls_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls{/number}","milestones_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/milestones{/number}","notifications_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/labels{/name}","releases_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/releases{/id}","deployments_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/deployments","created_at":"2018-05-14T02:19:27Z","updated_at":"2018-05-25T13:16:43Z","pushed_at":"2018-05-26T04:27:50Z","git_url":"git://github.com/TechMeetupsNG/eventplog.git","ssh_url":"git@github.com:TechMeetupsNG/eventplog.git","clone_url":"https://github.com/TechMeetupsNG/eventplog.git","svn_url":"https://github.com/TechMeetupsNG/eventplog","homepage":null,"size":26523,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":2,"default_branch":"develop"}},"base":{"label":"TechMeetupsNG:master","ref":"master","sha":"d677d883bd8e58cdb67d08a67cb1b26bc5ea2163","user":{"login":"TechMeetupsNG","id":33851215,"avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"repo":{"id":133293790,"name":"eventplog","full_name":"TechMeetupsNG/eventplog","owner":{"login":"TechMeetupsNG","id":33851215,"avatar_url":"https://avatars0.githubusercontent.com/u/33851215?v=4","gravatar_id":"","url":"https://api.github.com/users/TechMeetupsNG","html_url":"https://github.com/TechMeetupsNG","followers_url":"https://api.github.com/users/TechMeetupsNG/followers","following_url":"https://api.github.com/users/TechMeetupsNG/following{/other_user}","gists_url":"https://api.github.com/users/TechMeetupsNG/gists{/gist_id}","starred_url":"https://api.github.com/users/TechMeetupsNG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechMeetupsNG/subscriptions","organizations_url":"https://api.github.com/users/TechMeetupsNG/orgs","repos_url":"https://api.github.com/users/TechMeetupsNG/repos","events_url":"https://api.github.com/users/TechMeetupsNG/events{/privacy}","received_events_url":"https://api.github.com/users/TechMeetupsNG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechMeetupsNG/eventplog","description":"Helping organizers and guests work together to create meaningful meetups.","fork":false,"url":"https://api.github.com/repos/TechMeetupsNG/eventplog","forks_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/forks","keys_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/teams","hooks_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/hooks","issue_events_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/events{/number}","events_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/events","assignees_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/assignees{/user}","branches_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/branches{/branch}","tags_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/tags","blobs_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/statuses/{sha}","languages_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/languages","stargazers_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/stargazers","contributors_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/contributors","subscribers_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/subscribers","subscription_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/subscription","commits_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/contents/{+path}","compare_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/merges","archive_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/downloads","issues_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues{/number}","pulls_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls{/number}","milestones_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/milestones{/number}","notifications_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/labels{/name}","releases_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/releases{/id}","deployments_url":"https://api.github.com/repos/TechMeetupsNG/eventplog/deployments","created_at":"2018-05-14T02:19:27Z","updated_at":"2018-05-25T13:16:43Z","pushed_at":"2018-05-26T04:27:50Z","git_url":"git://github.com/TechMeetupsNG/eventplog.git","ssh_url":"git@github.com:TechMeetupsNG/eventplog.git","clone_url":"https://github.com/TechMeetupsNG/eventplog.git","svn_url":"https://github.com/TechMeetupsNG/eventplog","homepage":null,"size":26523,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16"},"html":{"href":"https://github.com/TechMeetupsNG/eventplog/pull/16"},"issue":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/16"},"comments":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/TechMeetupsNG/eventplog/statuses/7b31b49eff62e4b3016de57e7ce3f1bd38cac426"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}