{"action":"created","comment":{"url":"https://api.github.com/repos/kubeapps/kubeapps/pulls/comments/202128040","pull_request_review_id":136765476,"id":202128040,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjEyODA0MA==","diff_hunk":"@@ -0,0 +1,51 @@\n+import { mount } from \"enzyme\";\n+import * as React from \"react\";\n+import * as Modal from \"react-modal\";\n+\n+import ConfirmDialog from \"./index\";\n+\n+it(\"renders loading message\", () => {\n+  const wrapper = mount(\n+    <ConfirmDialog\n+      modalIsOpen={true}\n+      loading={true}\n+      onConfirm={jest.fn()}\n+      closeModal={jest.fn()}\n+    />,\n+  );\n+  expect(wrapper.find(Modal).text()).toContain(\"Loading ...\");\n+});\n+\n+it(\"perform action on confirm\", () => {","path":"dashboard/src/components/ConfirmDialog/index.test.tsx","position":19,"original_position":19,"commit_id":"495f6e80db3abdbdb9755c1b181a66080c5a06f1","original_commit_id":"495f6e80db3abdbdb9755c1b181a66080c5a06f1","user":{"login":"prydonius","id":1544861,"node_id":"MDQ6VXNlcjE1NDQ4NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1544861?v=4","gravatar_id":"","url":"https://api.github.com/users/prydonius","html_url":"https://github.com/prydonius","followers_url":"https://api.github.com/users/prydonius/followers","following_url":"https://api.github.com/users/prydonius/following{/other_user}","gists_url":"https://api.github.com/users/prydonius/gists{/gist_id}","starred_url":"https://api.github.com/users/prydonius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prydonius/subscriptions","organizations_url":"https://api.github.com/users/prydonius/orgs","repos_url":"https://api.github.com/users/prydonius/repos","events_url":"https://api.github.com/users/prydonius/events{/privacy}","received_events_url":"https://api.github.com/users/prydonius/received_events","type":"User","site_admin":false},"body":"s/perform/performs","created_at":"2018-07-12T18:04:51Z","updated_at":"2018-07-12T18:10:58Z","html_url":"https://github.com/kubeapps/kubeapps/pull/404#discussion_r202128040","pull_request_url":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kubeapps/kubeapps/pulls/comments/202128040"},"html":{"href":"https://github.com/kubeapps/kubeapps/pull/404#discussion_r202128040"},"pull_request":{"href":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404"}}},"pull_request":{"url":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404","id":200967517,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwOTY3NTE3","html_url":"https://github.com/kubeapps/kubeapps/pull/404","diff_url":"https://github.com/kubeapps/kubeapps/pull/404.diff","patch_url":"https://github.com/kubeapps/kubeapps/pull/404.patch","issue_url":"https://api.github.com/repos/kubeapps/kubeapps/issues/404","number":404,"state":"open","locked":false,"title":"ConfirmDialog component tests","user":{"login":"andresmgot","id":4025665,"node_id":"MDQ6VXNlcjQwMjU2NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/4025665?v=4","gravatar_id":"","url":"https://api.github.com/users/andresmgot","html_url":"https://github.com/andresmgot","followers_url":"https://api.github.com/users/andresmgot/followers","following_url":"https://api.github.com/users/andresmgot/following{/other_user}","gists_url":"https://api.github.com/users/andresmgot/gists{/gist_id}","starred_url":"https://api.github.com/users/andresmgot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresmgot/subscriptions","organizations_url":"https://api.github.com/users/andresmgot/orgs","repos_url":"https://api.github.com/users/andresmgot/repos","events_url":"https://api.github.com/users/andresmgot/events{/privacy}","received_events_url":"https://api.github.com/users/andresmgot/received_events","type":"User","site_admin":false},"body":"Fixes: #347 \r\n\r\nAdded tests for ConfirmDialog.\r\n\r\nRemoved items that were not used.","created_at":"2018-07-12T11:15:00Z","updated_at":"2018-07-12T18:10:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9363c4a88413cc91b5cd6e16ca974fc51be8e151","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404/commits","review_comments_url":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404/comments","review_comment_url":"https://api.github.com/repos/kubeapps/kubeapps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubeapps/kubeapps/issues/404/comments","statuses_url":"https://api.github.com/repos/kubeapps/kubeapps/statuses/495f6e80db3abdbdb9755c1b181a66080c5a06f1","head":{"label":"andresmgot:confirmDialogTests","ref":"confirmDialogTests","sha":"495f6e80db3abdbdb9755c1b181a66080c5a06f1","user":{"login":"andresmgot","id":4025665,"node_id":"MDQ6VXNlcjQwMjU2NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/4025665?v=4","gravatar_id":"","url":"https://api.github.com/users/andresmgot","html_url":"https://github.com/andresmgot","followers_url":"https://api.github.com/users/andresmgot/followers","following_url":"https://api.github.com/users/andresmgot/following{/other_user}","gists_url":"https://api.github.com/users/andresmgot/gists{/gist_id}","starred_url":"https://api.github.com/users/andresmgot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresmgot/subscriptions","organizations_url":"https://api.github.com/users/andresmgot/orgs","repos_url":"https://api.github.com/users/andresmgot/repos","events_url":"https://api.github.com/users/andresmgot/events{/privacy}","received_events_url":"https://api.github.com/users/andresmgot/received_events","type":"User","site_admin":false},"repo":{"id":111571118,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE1NzExMTg=","name":"installer","full_name":"andresmgot/installer","owner":{"login":"andresmgot","id":4025665,"node_id":"MDQ6VXNlcjQwMjU2NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/4025665?v=4","gravatar_id":"","url":"https://api.github.com/users/andresmgot","html_url":"https://github.com/andresmgot","followers_url":"https://api.github.com/users/andresmgot/followers","following_url":"https://api.github.com/users/andresmgot/following{/other_user}","gists_url":"https://api.github.com/users/andresmgot/gists{/gist_id}","starred_url":"https://api.github.com/users/andresmgot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresmgot/subscriptions","organizations_url":"https://api.github.com/users/andresmgot/orgs","repos_url":"https://api.github.com/users/andresmgot/repos","events_url":"https://api.github.com/users/andresmgot/events{/privacy}","received_events_url":"https://api.github.com/users/andresmgot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andresmgot/installer","description":null,"fork":true,"url":"https://api.github.com/repos/andresmgot/installer","forks_url":"https://api.github.com/repos/andresmgot/installer/forks","keys_url":"https://api.github.com/repos/andresmgot/installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andresmgot/installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andresmgot/installer/teams","hooks_url":"https://api.github.com/repos/andresmgot/installer/hooks","issue_events_url":"https://api.github.com/repos/andresmgot/installer/issues/events{/number}","events_url":"https://api.github.com/repos/andresmgot/installer/events","assignees_url":"https://api.github.com/repos/andresmgot/installer/assignees{/user}","branches_url":"https://api.github.com/repos/andresmgot/installer/branches{/branch}","tags_url":"https://api.github.com/repos/andresmgot/installer/tags","blobs_url":"https://api.github.com/repos/andresmgot/installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andresmgot/installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andresmgot/installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/andresmgot/installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andresmgot/installer/statuses/{sha}","languages_url":"https://api.github.com/repos/andresmgot/installer/languages","stargazers_url":"https://api.github.com/repos/andresmgot/installer/stargazers","contributors_url":"https://api.github.com/repos/andresmgot/installer/contributors","subscribers_url":"https://api.github.com/repos/andresmgot/installer/subscribers","subscription_url":"https://api.github.com/repos/andresmgot/installer/subscription","commits_url":"https://api.github.com/repos/andresmgot/installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/andresmgot/installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/andresmgot/installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/andresmgot/installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/andresmgot/installer/contents/{+path}","compare_url":"https://api.github.com/repos/andresmgot/installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andresmgot/installer/merges","archive_url":"https://api.github.com/repos/andresmgot/installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andresmgot/installer/downloads","issues_url":"https://api.github.com/repos/andresmgot/installer/issues{/number}","pulls_url":"https://api.github.com/repos/andresmgot/installer/pulls{/number}","milestones_url":"https://api.github.com/repos/andresmgot/installer/milestones{/number}","notifications_url":"https://api.github.com/repos/andresmgot/installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andresmgot/installer/labels{/name}","releases_url":"https://api.github.com/repos/andresmgot/installer/releases{/id}","deployments_url":"https://api.github.com/repos/andresmgot/installer/deployments","created_at":"2017-11-21T16:04:30Z","updated_at":"2017-11-21T16:04:32Z","pushed_at":"2018-07-12T11:14:13Z","git_url":"git://github.com/andresmgot/installer.git","ssh_url":"git@github.com:andresmgot/installer.git","clone_url":"https://github.com/andresmgot/installer.git","svn_url":"https://github.com/andresmgot/installer","homepage":null,"size":37686,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubeapps:master","ref":"master","sha":"848dc0b77dee73af051cd0a4f8f0e72000267407","user":{"login":"kubeapps","id":32396354,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMzk2MzU0","avatar_url":"https://avatars0.githubusercontent.com/u/32396354?v=4","gravatar_id":"","url":"https://api.github.com/users/kubeapps","html_url":"https://github.com/kubeapps","followers_url":"https://api.github.com/users/kubeapps/followers","following_url":"https://api.github.com/users/kubeapps/following{/other_user}","gists_url":"https://api.github.com/users/kubeapps/gists{/gist_id}","starred_url":"https://api.github.com/users/kubeapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubeapps/subscriptions","organizations_url":"https://api.github.com/users/kubeapps/orgs","repos_url":"https://api.github.com/users/kubeapps/repos","events_url":"https://api.github.com/users/kubeapps/events{/privacy}","received_events_url":"https://api.github.com/users/kubeapps/received_events","type":"Organization","site_admin":false},"repo":{"id":107555654,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NTU2NTQ=","name":"kubeapps","full_name":"kubeapps/kubeapps","owner":{"login":"kubeapps","id":32396354,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMzk2MzU0","avatar_url":"https://avatars0.githubusercontent.com/u/32396354?v=4","gravatar_id":"","url":"https://api.github.com/users/kubeapps","html_url":"https://github.com/kubeapps","followers_url":"https://api.github.com/users/kubeapps/followers","following_url":"https://api.github.com/users/kubeapps/following{/other_user}","gists_url":"https://api.github.com/users/kubeapps/gists{/gist_id}","starred_url":"https://api.github.com/users/kubeapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubeapps/subscriptions","organizations_url":"https://api.github.com/users/kubeapps/orgs","repos_url":"https://api.github.com/users/kubeapps/repos","events_url":"https://api.github.com/users/kubeapps/events{/privacy}","received_events_url":"https://api.github.com/users/kubeapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubeapps/kubeapps","description":"Super-charge your Kubernetes cluster","fork":false,"url":"https://api.github.com/repos/kubeapps/kubeapps","forks_url":"https://api.github.com/repos/kubeapps/kubeapps/forks","keys_url":"https://api.github.com/repos/kubeapps/kubeapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubeapps/kubeapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubeapps/kubeapps/teams","hooks_url":"https://api.github.com/repos/kubeapps/kubeapps/hooks","issue_events_url":"https://api.github.com/repos/kubeapps/kubeapps/issues/events{/number}","events_url":"https://api.github.com/repos/kubeapps/kubeapps/events","assignees_url":"https://api.github.com/repos/kubeapps/kubeapps/assignees{/user}","branches_url":"https://api.github.com/repos/kubeapps/kubeapps/branches{/branch}","tags_url":"https://api.github.com/repos/kubeapps/kubeapps/tags","blobs_url":"https://api.github.com/repos/kubeapps/kubeapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubeapps/kubeapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubeapps/kubeapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubeapps/kubeapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubeapps/kubeapps/statuses/{sha}","languages_url":"https://api.github.com/repos/kubeapps/kubeapps/languages","stargazers_url":"https://api.github.com/repos/kubeapps/kubeapps/stargazers","contributors_url":"https://api.github.com/repos/kubeapps/kubeapps/contributors","subscribers_url":"https://api.github.com/repos/kubeapps/kubeapps/subscribers","subscription_url":"https://api.github.com/repos/kubeapps/kubeapps/subscription","commits_url":"https://api.github.com/repos/kubeapps/kubeapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubeapps/kubeapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubeapps/kubeapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubeapps/kubeapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubeapps/kubeapps/contents/{+path}","compare_url":"https://api.github.com/repos/kubeapps/kubeapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubeapps/kubeapps/merges","archive_url":"https://api.github.com/repos/kubeapps/kubeapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubeapps/kubeapps/downloads","issues_url":"https://api.github.com/repos/kubeapps/kubeapps/issues{/number}","pulls_url":"https://api.github.com/repos/kubeapps/kubeapps/pulls{/number}","milestones_url":"https://api.github.com/repos/kubeapps/kubeapps/milestones{/number}","notifications_url":"https://api.github.com/repos/kubeapps/kubeapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubeapps/kubeapps/labels{/name}","releases_url":"https://api.github.com/repos/kubeapps/kubeapps/releases{/id}","deployments_url":"https://api.github.com/repos/kubeapps/kubeapps/deployments","created_at":"2017-10-19T14:14:34Z","updated_at":"2018-07-12T17:43:01Z","pushed_at":"2018-07-12T17:42:58Z","git_url":"git://github.com/kubeapps/kubeapps.git","ssh_url":"git@github.com:kubeapps/kubeapps.git","clone_url":"https://github.com/kubeapps/kubeapps.git","svn_url":"https://github.com/kubeapps/kubeapps","homepage":"https://kubeapps.com","size":37638,"stargazers_count":391,"watchers_count":391,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":71,"open_issues":47,"watchers":391,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404"},"html":{"href":"https://github.com/kubeapps/kubeapps/pull/404"},"issue":{"href":"https://api.github.com/repos/kubeapps/kubeapps/issues/404"},"comments":{"href":"https://api.github.com/repos/kubeapps/kubeapps/issues/404/comments"},"review_comments":{"href":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404/comments"},"review_comment":{"href":"https://api.github.com/repos/kubeapps/kubeapps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubeapps/kubeapps/pulls/404/commits"},"statuses":{"href":"https://api.github.com/repos/kubeapps/kubeapps/statuses/495f6e80db3abdbdb9755c1b181a66080c5a06f1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"prydonius"}}