{"action":"created","comment":{"url":"https://api.github.com/repos/icapps/tree-house-errors/pulls/comments/183663662","pull_request_review_id":114701683,"id":183663662,"diff_hunk":"@@ -63,10 +73,29 @@ describe('errorParser', () => {\n \n   describe('Predefined Api errors', () => {\n     it('Should succesfully parse default ApiError', () => {\n+      const errorTranslation = 'English translation';\n+      i18nMock.mockImplementation(() => {","path":"tests/errorParser.test.ts","position":25,"original_position":48,"commit_id":"9394fb87320b57e04129244c3d29062f73716efc","original_commit_id":"9394fb87320b57e04129244c3d29062f73716efc","user":{"login":"knor-el-snor","id":12209763,"avatar_url":"https://avatars3.githubusercontent.com/u/12209763?v=4","gravatar_id":"","url":"https://api.github.com/users/knor-el-snor","html_url":"https://github.com/knor-el-snor","followers_url":"https://api.github.com/users/knor-el-snor/followers","following_url":"https://api.github.com/users/knor-el-snor/following{/other_user}","gists_url":"https://api.github.com/users/knor-el-snor/gists{/gist_id}","starred_url":"https://api.github.com/users/knor-el-snor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knor-el-snor/subscriptions","organizations_url":"https://api.github.com/users/knor-el-snor/orgs","repos_url":"https://api.github.com/users/knor-el-snor/repos","events_url":"https://api.github.com/users/knor-el-snor/events{/privacy}","received_events_url":"https://api.github.com/users/knor-el-snor/received_events","type":"User","site_admin":false},"body":"Can be one line due to arrow fn\r\n`i18nMock.mockImplementation(() => errorTranslation)`\r\n","created_at":"2018-04-24T09:29:29Z","updated_at":"2018-04-24T09:31:29Z","html_url":"https://github.com/icapps/tree-house-errors/pull/7#discussion_r183663662","pull_request_url":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/icapps/tree-house-errors/pulls/comments/183663662"},"html":{"href":"https://github.com/icapps/tree-house-errors/pull/7#discussion_r183663662"},"pull_request":{"href":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7","id":183367618,"html_url":"https://github.com/icapps/tree-house-errors/pull/7","diff_url":"https://github.com/icapps/tree-house-errors/pull/7.diff","patch_url":"https://github.com/icapps/tree-house-errors/pull/7.patch","issue_url":"https://api.github.com/repos/icapps/tree-house-errors/issues/7","number":7,"state":"open","locked":false,"title":"feature/add_i18n_functionality","user":{"login":"horstenwillem","id":14800045,"avatar_url":"https://avatars3.githubusercontent.com/u/14800045?v=4","gravatar_id":"","url":"https://api.github.com/users/horstenwillem","html_url":"https://github.com/horstenwillem","followers_url":"https://api.github.com/users/horstenwillem/followers","following_url":"https://api.github.com/users/horstenwillem/following{/other_user}","gists_url":"https://api.github.com/users/horstenwillem/gists{/gist_id}","starred_url":"https://api.github.com/users/horstenwillem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horstenwillem/subscriptions","organizations_url":"https://api.github.com/users/horstenwillem/orgs","repos_url":"https://api.github.com/users/horstenwillem/repos","events_url":"https://api.github.com/users/horstenwillem/events{/privacy}","received_events_url":"https://api.github.com/users/horstenwillem/received_events","type":"User","site_admin":false},"body":"Add translations","created_at":"2018-04-23T09:02:06Z","updated_at":"2018-04-24T09:31:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8c6e407b17e36cc22f3f49328245f097854002b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7/commits","review_comments_url":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7/comments","review_comment_url":"https://api.github.com/repos/icapps/tree-house-errors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/icapps/tree-house-errors/issues/7/comments","statuses_url":"https://api.github.com/repos/icapps/tree-house-errors/statuses/9394fb87320b57e04129244c3d29062f73716efc","head":{"label":"icapps:feature/add_i18n_functionality","ref":"feature/add_i18n_functionality","sha":"9394fb87320b57e04129244c3d29062f73716efc","user":{"login":"icapps","id":15049218,"avatar_url":"https://avatars3.githubusercontent.com/u/15049218?v=4","gravatar_id":"","url":"https://api.github.com/users/icapps","html_url":"https://github.com/icapps","followers_url":"https://api.github.com/users/icapps/followers","following_url":"https://api.github.com/users/icapps/following{/other_user}","gists_url":"https://api.github.com/users/icapps/gists{/gist_id}","starred_url":"https://api.github.com/users/icapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icapps/subscriptions","organizations_url":"https://api.github.com/users/icapps/orgs","repos_url":"https://api.github.com/users/icapps/repos","events_url":"https://api.github.com/users/icapps/events{/privacy}","received_events_url":"https://api.github.com/users/icapps/received_events","type":"Organization","site_admin":false},"repo":{"id":123898514,"name":"tree-house-errors","full_name":"icapps/tree-house-errors","owner":{"login":"icapps","id":15049218,"avatar_url":"https://avatars3.githubusercontent.com/u/15049218?v=4","gravatar_id":"","url":"https://api.github.com/users/icapps","html_url":"https://github.com/icapps","followers_url":"https://api.github.com/users/icapps/followers","following_url":"https://api.github.com/users/icapps/following{/other_user}","gists_url":"https://api.github.com/users/icapps/gists{/gist_id}","starred_url":"https://api.github.com/users/icapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icapps/subscriptions","organizations_url":"https://api.github.com/users/icapps/orgs","repos_url":"https://api.github.com/users/icapps/repos","events_url":"https://api.github.com/users/icapps/events{/privacy}","received_events_url":"https://api.github.com/users/icapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icapps/tree-house-errors","description":"Errors and error handling","fork":false,"url":"https://api.github.com/repos/icapps/tree-house-errors","forks_url":"https://api.github.com/repos/icapps/tree-house-errors/forks","keys_url":"https://api.github.com/repos/icapps/tree-house-errors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icapps/tree-house-errors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icapps/tree-house-errors/teams","hooks_url":"https://api.github.com/repos/icapps/tree-house-errors/hooks","issue_events_url":"https://api.github.com/repos/icapps/tree-house-errors/issues/events{/number}","events_url":"https://api.github.com/repos/icapps/tree-house-errors/events","assignees_url":"https://api.github.com/repos/icapps/tree-house-errors/assignees{/user}","branches_url":"https://api.github.com/repos/icapps/tree-house-errors/branches{/branch}","tags_url":"https://api.github.com/repos/icapps/tree-house-errors/tags","blobs_url":"https://api.github.com/repos/icapps/tree-house-errors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icapps/tree-house-errors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icapps/tree-house-errors/git/refs{/sha}","trees_url":"https://api.github.com/repos/icapps/tree-house-errors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icapps/tree-house-errors/statuses/{sha}","languages_url":"https://api.github.com/repos/icapps/tree-house-errors/languages","stargazers_url":"https://api.github.com/repos/icapps/tree-house-errors/stargazers","contributors_url":"https://api.github.com/repos/icapps/tree-house-errors/contributors","subscribers_url":"https://api.github.com/repos/icapps/tree-house-errors/subscribers","subscription_url":"https://api.github.com/repos/icapps/tree-house-errors/subscription","commits_url":"https://api.github.com/repos/icapps/tree-house-errors/commits{/sha}","git_commits_url":"https://api.github.com/repos/icapps/tree-house-errors/git/commits{/sha}","comments_url":"https://api.github.com/repos/icapps/tree-house-errors/comments{/number}","issue_comment_url":"https://api.github.com/repos/icapps/tree-house-errors/issues/comments{/number}","contents_url":"https://api.github.com/repos/icapps/tree-house-errors/contents/{+path}","compare_url":"https://api.github.com/repos/icapps/tree-house-errors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icapps/tree-house-errors/merges","archive_url":"https://api.github.com/repos/icapps/tree-house-errors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icapps/tree-house-errors/downloads","issues_url":"https://api.github.com/repos/icapps/tree-house-errors/issues{/number}","pulls_url":"https://api.github.com/repos/icapps/tree-house-errors/pulls{/number}","milestones_url":"https://api.github.com/repos/icapps/tree-house-errors/milestones{/number}","notifications_url":"https://api.github.com/repos/icapps/tree-house-errors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icapps/tree-house-errors/labels{/name}","releases_url":"https://api.github.com/repos/icapps/tree-house-errors/releases{/id}","deployments_url":"https://api.github.com/repos/icapps/tree-house-errors/deployments","created_at":"2018-03-05T09:47:54Z","updated_at":"2018-04-18T11:07:31Z","pushed_at":"2018-04-23T14:41:32Z","git_url":"git://github.com/icapps/tree-house-errors.git","ssh_url":"git@github.com:icapps/tree-house-errors.git","clone_url":"https://github.com/icapps/tree-house-errors.git","svn_url":"https://github.com/icapps/tree-house-errors","homepage":null,"size":172,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","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":1,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"icapps:master","ref":"master","sha":"0350b8343d9c735443f5fc169866017e4f072c8e","user":{"login":"icapps","id":15049218,"avatar_url":"https://avatars3.githubusercontent.com/u/15049218?v=4","gravatar_id":"","url":"https://api.github.com/users/icapps","html_url":"https://github.com/icapps","followers_url":"https://api.github.com/users/icapps/followers","following_url":"https://api.github.com/users/icapps/following{/other_user}","gists_url":"https://api.github.com/users/icapps/gists{/gist_id}","starred_url":"https://api.github.com/users/icapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icapps/subscriptions","organizations_url":"https://api.github.com/users/icapps/orgs","repos_url":"https://api.github.com/users/icapps/repos","events_url":"https://api.github.com/users/icapps/events{/privacy}","received_events_url":"https://api.github.com/users/icapps/received_events","type":"Organization","site_admin":false},"repo":{"id":123898514,"name":"tree-house-errors","full_name":"icapps/tree-house-errors","owner":{"login":"icapps","id":15049218,"avatar_url":"https://avatars3.githubusercontent.com/u/15049218?v=4","gravatar_id":"","url":"https://api.github.com/users/icapps","html_url":"https://github.com/icapps","followers_url":"https://api.github.com/users/icapps/followers","following_url":"https://api.github.com/users/icapps/following{/other_user}","gists_url":"https://api.github.com/users/icapps/gists{/gist_id}","starred_url":"https://api.github.com/users/icapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icapps/subscriptions","organizations_url":"https://api.github.com/users/icapps/orgs","repos_url":"https://api.github.com/users/icapps/repos","events_url":"https://api.github.com/users/icapps/events{/privacy}","received_events_url":"https://api.github.com/users/icapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icapps/tree-house-errors","description":"Errors and error handling","fork":false,"url":"https://api.github.com/repos/icapps/tree-house-errors","forks_url":"https://api.github.com/repos/icapps/tree-house-errors/forks","keys_url":"https://api.github.com/repos/icapps/tree-house-errors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icapps/tree-house-errors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icapps/tree-house-errors/teams","hooks_url":"https://api.github.com/repos/icapps/tree-house-errors/hooks","issue_events_url":"https://api.github.com/repos/icapps/tree-house-errors/issues/events{/number}","events_url":"https://api.github.com/repos/icapps/tree-house-errors/events","assignees_url":"https://api.github.com/repos/icapps/tree-house-errors/assignees{/user}","branches_url":"https://api.github.com/repos/icapps/tree-house-errors/branches{/branch}","tags_url":"https://api.github.com/repos/icapps/tree-house-errors/tags","blobs_url":"https://api.github.com/repos/icapps/tree-house-errors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icapps/tree-house-errors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icapps/tree-house-errors/git/refs{/sha}","trees_url":"https://api.github.com/repos/icapps/tree-house-errors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icapps/tree-house-errors/statuses/{sha}","languages_url":"https://api.github.com/repos/icapps/tree-house-errors/languages","stargazers_url":"https://api.github.com/repos/icapps/tree-house-errors/stargazers","contributors_url":"https://api.github.com/repos/icapps/tree-house-errors/contributors","subscribers_url":"https://api.github.com/repos/icapps/tree-house-errors/subscribers","subscription_url":"https://api.github.com/repos/icapps/tree-house-errors/subscription","commits_url":"https://api.github.com/repos/icapps/tree-house-errors/commits{/sha}","git_commits_url":"https://api.github.com/repos/icapps/tree-house-errors/git/commits{/sha}","comments_url":"https://api.github.com/repos/icapps/tree-house-errors/comments{/number}","issue_comment_url":"https://api.github.com/repos/icapps/tree-house-errors/issues/comments{/number}","contents_url":"https://api.github.com/repos/icapps/tree-house-errors/contents/{+path}","compare_url":"https://api.github.com/repos/icapps/tree-house-errors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icapps/tree-house-errors/merges","archive_url":"https://api.github.com/repos/icapps/tree-house-errors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icapps/tree-house-errors/downloads","issues_url":"https://api.github.com/repos/icapps/tree-house-errors/issues{/number}","pulls_url":"https://api.github.com/repos/icapps/tree-house-errors/pulls{/number}","milestones_url":"https://api.github.com/repos/icapps/tree-house-errors/milestones{/number}","notifications_url":"https://api.github.com/repos/icapps/tree-house-errors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icapps/tree-house-errors/labels{/name}","releases_url":"https://api.github.com/repos/icapps/tree-house-errors/releases{/id}","deployments_url":"https://api.github.com/repos/icapps/tree-house-errors/deployments","created_at":"2018-03-05T09:47:54Z","updated_at":"2018-04-18T11:07:31Z","pushed_at":"2018-04-23T14:41:32Z","git_url":"git://github.com/icapps/tree-house-errors.git","ssh_url":"git@github.com:icapps/tree-house-errors.git","clone_url":"https://github.com/icapps/tree-house-errors.git","svn_url":"https://github.com/icapps/tree-house-errors","homepage":null,"size":172,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","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":1,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7"},"html":{"href":"https://github.com/icapps/tree-house-errors/pull/7"},"issue":{"href":"https://api.github.com/repos/icapps/tree-house-errors/issues/7"},"comments":{"href":"https://api.github.com/repos/icapps/tree-house-errors/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/icapps/tree-house-errors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/icapps/tree-house-errors/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/icapps/tree-house-errors/statuses/9394fb87320b57e04129244c3d29062f73716efc"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"knor-el-snor"}}