{"action":"created","comment":{"url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/comments/362447767","pull_request_review_id":337626560,"id":362447767,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MjQ0Nzc2Nw==","diff_hunk":"@@ -0,0 +1,159 @@\n+import React from 'react';\n+import { mount } from '../../test/enzyme';\n+import 'jest-styled-components';\n+\n+import {\n+  dpstyle\n+} from '../styled';\n+\n+describe('styled components', () => {\n+  describe('TextString', () => {","path":"src/style/__tests__/dpstyle.test.tsx","position":10,"original_position":10,"commit_id":"b6dc68734d29f9c64aeb4a5af41ebeb1b37049bb","original_commit_id":"b6dc68734d29f9c64aeb4a5af41ebeb1b37049bb","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Similar blocks of code found in 7 locations. Consider refactoring.","created_at":"2020-01-02T11:48:11Z","updated_at":"2020-01-02T11:48:12Z","html_url":"https://github.com/deskpro/deskpro-admin-frontend/pull/156#discussion_r362447767","pull_request_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/comments/362447767"},"html":{"href":"https://github.com/deskpro/deskpro-admin-frontend/pull/156#discussion_r362447767"},"pull_request":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156","id":358628913,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU4NjI4OTEz","html_url":"https://github.com/deskpro/deskpro-admin-frontend/pull/156","diff_url":"https://github.com/deskpro/deskpro-admin-frontend/pull/156.diff","patch_url":"https://github.com/deskpro/deskpro-admin-frontend/pull/156.patch","issue_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/156","number":156,"state":"open","locked":false,"title":"Feature/kanban view prep","user":{"login":"richardhealy","id":1092262,"node_id":"MDQ6VXNlcjEwOTIyNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1092262?v=4","gravatar_id":"","url":"https://api.github.com/users/richardhealy","html_url":"https://github.com/richardhealy","followers_url":"https://api.github.com/users/richardhealy/followers","following_url":"https://api.github.com/users/richardhealy/following{/other_user}","gists_url":"https://api.github.com/users/richardhealy/gists{/gist_id}","starred_url":"https://api.github.com/users/richardhealy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardhealy/subscriptions","organizations_url":"https://api.github.com/users/richardhealy/orgs","repos_url":"https://api.github.com/users/richardhealy/repos","events_url":"https://api.github.com/users/richardhealy/events{/privacy}","received_events_url":"https://api.github.com/users/richardhealy/received_events","type":"User","site_admin":false},"body":"","created_at":"2020-01-02T11:28:25Z","updated_at":"2020-01-02T11:48:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b6e2582ac813ac164ba0867be74bb8c706fddca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156/commits","review_comments_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156/comments","review_comment_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/156/comments","statuses_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/statuses/b6dc68734d29f9c64aeb4a5af41ebeb1b37049bb","head":{"label":"deskpro:feature/kanban-view-prep","ref":"feature/kanban-view-prep","sha":"b6dc68734d29f9c64aeb4a5af41ebeb1b37049bb","user":{"login":"deskpro","id":560182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MDE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/560182?v=4","gravatar_id":"","url":"https://api.github.com/users/deskpro","html_url":"https://github.com/deskpro","followers_url":"https://api.github.com/users/deskpro/followers","following_url":"https://api.github.com/users/deskpro/following{/other_user}","gists_url":"https://api.github.com/users/deskpro/gists{/gist_id}","starred_url":"https://api.github.com/users/deskpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deskpro/subscriptions","organizations_url":"https://api.github.com/users/deskpro/orgs","repos_url":"https://api.github.com/users/deskpro/repos","events_url":"https://api.github.com/users/deskpro/events{/privacy}","received_events_url":"https://api.github.com/users/deskpro/received_events","type":"Organization","site_admin":false},"repo":{"id":213324203,"node_id":"MDEwOlJlcG9zaXRvcnkyMTMzMjQyMDM=","name":"deskpro-admin-frontend","full_name":"deskpro/deskpro-admin-frontend","private":false,"owner":{"login":"deskpro","id":560182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MDE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/560182?v=4","gravatar_id":"","url":"https://api.github.com/users/deskpro","html_url":"https://github.com/deskpro","followers_url":"https://api.github.com/users/deskpro/followers","following_url":"https://api.github.com/users/deskpro/following{/other_user}","gists_url":"https://api.github.com/users/deskpro/gists{/gist_id}","starred_url":"https://api.github.com/users/deskpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deskpro/subscriptions","organizations_url":"https://api.github.com/users/deskpro/orgs","repos_url":"https://api.github.com/users/deskpro/repos","events_url":"https://api.github.com/users/deskpro/events{/privacy}","received_events_url":"https://api.github.com/users/deskpro/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/deskpro/deskpro-admin-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend","forks_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/forks","keys_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/teams","hooks_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/hooks","issue_events_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/events","assignees_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/tags","blobs_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/languages","stargazers_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/stargazers","contributors_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/contributors","subscribers_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/subscribers","subscription_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/subscription","commits_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/merges","archive_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/downloads","issues_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/labels{/name}","releases_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/deployments","created_at":"2019-10-07T07:50:10Z","updated_at":"2020-01-01T09:01:24Z","pushed_at":"2020-01-02T11:47:29Z","git_url":"git://github.com/deskpro/deskpro-admin-frontend.git","ssh_url":"git@github.com:deskpro/deskpro-admin-frontend.git","clone_url":"https://github.com/deskpro/deskpro-admin-frontend.git","svn_url":"https://github.com/deskpro/deskpro-admin-frontend","homepage":null,"size":71357,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"deskpro:master","ref":"master","sha":"fa9dc43abd06a5283538f34dfed6755df514cf03","user":{"login":"deskpro","id":560182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MDE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/560182?v=4","gravatar_id":"","url":"https://api.github.com/users/deskpro","html_url":"https://github.com/deskpro","followers_url":"https://api.github.com/users/deskpro/followers","following_url":"https://api.github.com/users/deskpro/following{/other_user}","gists_url":"https://api.github.com/users/deskpro/gists{/gist_id}","starred_url":"https://api.github.com/users/deskpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deskpro/subscriptions","organizations_url":"https://api.github.com/users/deskpro/orgs","repos_url":"https://api.github.com/users/deskpro/repos","events_url":"https://api.github.com/users/deskpro/events{/privacy}","received_events_url":"https://api.github.com/users/deskpro/received_events","type":"Organization","site_admin":false},"repo":{"id":213324203,"node_id":"MDEwOlJlcG9zaXRvcnkyMTMzMjQyMDM=","name":"deskpro-admin-frontend","full_name":"deskpro/deskpro-admin-frontend","private":false,"owner":{"login":"deskpro","id":560182,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MDE4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/560182?v=4","gravatar_id":"","url":"https://api.github.com/users/deskpro","html_url":"https://github.com/deskpro","followers_url":"https://api.github.com/users/deskpro/followers","following_url":"https://api.github.com/users/deskpro/following{/other_user}","gists_url":"https://api.github.com/users/deskpro/gists{/gist_id}","starred_url":"https://api.github.com/users/deskpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deskpro/subscriptions","organizations_url":"https://api.github.com/users/deskpro/orgs","repos_url":"https://api.github.com/users/deskpro/repos","events_url":"https://api.github.com/users/deskpro/events{/privacy}","received_events_url":"https://api.github.com/users/deskpro/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/deskpro/deskpro-admin-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend","forks_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/forks","keys_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/teams","hooks_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/hooks","issue_events_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/events","assignees_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/tags","blobs_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/languages","stargazers_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/stargazers","contributors_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/contributors","subscribers_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/subscribers","subscription_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/subscription","commits_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/merges","archive_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/downloads","issues_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/labels{/name}","releases_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/deployments","created_at":"2019-10-07T07:50:10Z","updated_at":"2020-01-01T09:01:24Z","pushed_at":"2020-01-02T11:47:29Z","git_url":"git://github.com/deskpro/deskpro-admin-frontend.git","ssh_url":"git@github.com:deskpro/deskpro-admin-frontend.git","clone_url":"https://github.com/deskpro/deskpro-admin-frontend.git","svn_url":"https://github.com/deskpro/deskpro-admin-frontend","homepage":null,"size":71357,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156"},"html":{"href":"https://github.com/deskpro/deskpro-admin-frontend/pull/156"},"issue":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/156"},"comments":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/deskpro/deskpro-admin-frontend/statuses/b6dc68734d29f9c64aeb4a5af41ebeb1b37049bb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codeclimate"}}