{"action":"created","comment":{"url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/comments/230563343","pull_request_review_id":171336603,"id":230563343,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDU2MzM0Mw==","diff_hunk":"@@ -0,0 +1,45 @@\n+import React from 'react';\n+import { shallow } from '../../setupTests.js';\n+import Form from './../Form';\n+import jest from 'jest-mock';\n+\n+describe('Form Component tests', () => {\n+\n+  const item = {\n+    home_price : 10000,\n+    down_payment_amount : 1000,\n+    down_payment_percentage : 1,\n+    loan_program: '30-years-fixed',\n+    interest_rate: 4,\n+    property_tax: 300,\n+    property_tax_percentage: 2,\n+    home_insurance: 100,\n+    hoa_dues: 30\n+  };\n+\n+  const checked = {\n+    pmiChecked: true,\n+    taxesChecked: true,\n+  };\n+\n+  it('should render without throwing an error', () => {\n+    const wrapper = shallow(<Form item={item} checked={checked}/>);\n+    expect(wrapper.find('form').exists()).toBe(true)","path":"client/src/components/__tests__/Form.test.js","position":27,"original_position":27,"commit_id":"7ff3afb94a5b875988b3111fdbe8ba5fe19667e5","original_commit_id":"7ff3afb94a5b875988b3111fdbe8ba5fe19667e5","user":{"login":"leemichelle","id":34196630,"node_id":"MDQ6VXNlcjM0MTk2NjMw","avatar_url":"https://avatars0.githubusercontent.com/u/34196630?v=4","gravatar_id":"","url":"https://api.github.com/users/leemichelle","html_url":"https://github.com/leemichelle","followers_url":"https://api.github.com/users/leemichelle/followers","following_url":"https://api.github.com/users/leemichelle/following{/other_user}","gists_url":"https://api.github.com/users/leemichelle/gists{/gist_id}","starred_url":"https://api.github.com/users/leemichelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leemichelle/subscriptions","organizations_url":"https://api.github.com/users/leemichelle/orgs","repos_url":"https://api.github.com/users/leemichelle/repos","events_url":"https://api.github.com/users/leemichelle/events{/privacy}","received_events_url":"https://api.github.com/users/leemichelle/received_events","type":"User","site_admin":false},"body":"add semicolon\r\n```suggestion\r\n    expect(wrapper.find('form').exists()).toBe(true);\r\n```","created_at":"2018-11-03T18:18:32Z","updated_at":"2018-11-03T18:42:52Z","html_url":"https://github.com/team-frontend/mortgage-calculator/pull/6#discussion_r230563343","pull_request_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/comments/230563343"},"html":{"href":"https://github.com/team-frontend/mortgage-calculator/pull/6#discussion_r230563343"},"pull_request":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6","id":228129605,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTI5NjA1","html_url":"https://github.com/team-frontend/mortgage-calculator/pull/6","diff_url":"https://github.com/team-frontend/mortgage-calculator/pull/6.diff","patch_url":"https://github.com/team-frontend/mortgage-calculator/pull/6.patch","issue_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/6","number":6,"state":"open","locked":false,"title":"Testing","user":{"login":"b0char0va","id":33420496,"node_id":"MDQ6VXNlcjMzNDIwNDk2","avatar_url":"https://avatars2.githubusercontent.com/u/33420496?v=4","gravatar_id":"","url":"https://api.github.com/users/b0char0va","html_url":"https://github.com/b0char0va","followers_url":"https://api.github.com/users/b0char0va/followers","following_url":"https://api.github.com/users/b0char0va/following{/other_user}","gists_url":"https://api.github.com/users/b0char0va/gists{/gist_id}","starred_url":"https://api.github.com/users/b0char0va/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b0char0va/subscriptions","organizations_url":"https://api.github.com/users/b0char0va/orgs","repos_url":"https://api.github.com/users/b0char0va/repos","events_url":"https://api.github.com/users/b0char0va/events{/privacy}","received_events_url":"https://api.github.com/users/b0char0va/received_events","type":"User","site_admin":false},"body":"@leemichelle could you please review my code?","created_at":"2018-11-03T17:11:09Z","updated_at":"2018-11-03T18:42:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"546e6d8d5fa4f728aff20a2e934343d81bca9823","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6/commits","review_comments_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6/comments","review_comment_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/6/comments","statuses_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/statuses/7ff3afb94a5b875988b3111fdbe8ba5fe19667e5","head":{"label":"team-frontend:testing","ref":"testing","sha":"7ff3afb94a5b875988b3111fdbe8ba5fe19667e5","user":{"login":"team-frontend","id":44418871,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE4ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/44418871?v=4","gravatar_id":"","url":"https://api.github.com/users/team-frontend","html_url":"https://github.com/team-frontend","followers_url":"https://api.github.com/users/team-frontend/followers","following_url":"https://api.github.com/users/team-frontend/following{/other_user}","gists_url":"https://api.github.com/users/team-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/team-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-frontend/subscriptions","organizations_url":"https://api.github.com/users/team-frontend/orgs","repos_url":"https://api.github.com/users/team-frontend/repos","events_url":"https://api.github.com/users/team-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/team-frontend/received_events","type":"Organization","site_admin":false},"repo":{"id":154414795,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0MTQ3OTU=","name":"mortgage-calculator","full_name":"team-frontend/mortgage-calculator","private":false,"owner":{"login":"team-frontend","id":44418871,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE4ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/44418871?v=4","gravatar_id":"","url":"https://api.github.com/users/team-frontend","html_url":"https://github.com/team-frontend","followers_url":"https://api.github.com/users/team-frontend/followers","following_url":"https://api.github.com/users/team-frontend/following{/other_user}","gists_url":"https://api.github.com/users/team-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/team-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-frontend/subscriptions","organizations_url":"https://api.github.com/users/team-frontend/orgs","repos_url":"https://api.github.com/users/team-frontend/repos","events_url":"https://api.github.com/users/team-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/team-frontend/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/team-frontend/mortgage-calculator","description":null,"fork":false,"url":"https://api.github.com/repos/team-frontend/mortgage-calculator","forks_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/forks","keys_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/teams","hooks_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/hooks","issue_events_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/events{/number}","events_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/events","assignees_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/assignees{/user}","branches_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/branches{/branch}","tags_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/tags","blobs_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/languages","stargazers_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/stargazers","contributors_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/contributors","subscribers_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/subscribers","subscription_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/subscription","commits_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/contents/{+path}","compare_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/merges","archive_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/downloads","issues_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues{/number}","pulls_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/labels{/name}","releases_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/releases{/id}","deployments_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/deployments","created_at":"2018-10-24T00:32:42Z","updated_at":"2018-11-01T03:04:55Z","pushed_at":"2018-11-03T17:13:56Z","git_url":"git://github.com/team-frontend/mortgage-calculator.git","ssh_url":"git@github.com:team-frontend/mortgage-calculator.git","clone_url":"https://github.com/team-frontend/mortgage-calculator.git","svn_url":"https://github.com/team-frontend/mortgage-calculator","homepage":null,"size":9176,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"team-frontend:master","ref":"master","sha":"ae851790082461712923b3c81468405ddb88c433","user":{"login":"team-frontend","id":44418871,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE4ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/44418871?v=4","gravatar_id":"","url":"https://api.github.com/users/team-frontend","html_url":"https://github.com/team-frontend","followers_url":"https://api.github.com/users/team-frontend/followers","following_url":"https://api.github.com/users/team-frontend/following{/other_user}","gists_url":"https://api.github.com/users/team-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/team-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-frontend/subscriptions","organizations_url":"https://api.github.com/users/team-frontend/orgs","repos_url":"https://api.github.com/users/team-frontend/repos","events_url":"https://api.github.com/users/team-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/team-frontend/received_events","type":"Organization","site_admin":false},"repo":{"id":154414795,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0MTQ3OTU=","name":"mortgage-calculator","full_name":"team-frontend/mortgage-calculator","private":false,"owner":{"login":"team-frontend","id":44418871,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE4ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/44418871?v=4","gravatar_id":"","url":"https://api.github.com/users/team-frontend","html_url":"https://github.com/team-frontend","followers_url":"https://api.github.com/users/team-frontend/followers","following_url":"https://api.github.com/users/team-frontend/following{/other_user}","gists_url":"https://api.github.com/users/team-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/team-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-frontend/subscriptions","organizations_url":"https://api.github.com/users/team-frontend/orgs","repos_url":"https://api.github.com/users/team-frontend/repos","events_url":"https://api.github.com/users/team-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/team-frontend/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/team-frontend/mortgage-calculator","description":null,"fork":false,"url":"https://api.github.com/repos/team-frontend/mortgage-calculator","forks_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/forks","keys_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/teams","hooks_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/hooks","issue_events_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/events{/number}","events_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/events","assignees_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/assignees{/user}","branches_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/branches{/branch}","tags_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/tags","blobs_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/languages","stargazers_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/stargazers","contributors_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/contributors","subscribers_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/subscribers","subscription_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/subscription","commits_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/contents/{+path}","compare_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/merges","archive_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/downloads","issues_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues{/number}","pulls_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/labels{/name}","releases_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/releases{/id}","deployments_url":"https://api.github.com/repos/team-frontend/mortgage-calculator/deployments","created_at":"2018-10-24T00:32:42Z","updated_at":"2018-11-01T03:04:55Z","pushed_at":"2018-11-03T17:13:56Z","git_url":"git://github.com/team-frontend/mortgage-calculator.git","ssh_url":"git@github.com:team-frontend/mortgage-calculator.git","clone_url":"https://github.com/team-frontend/mortgage-calculator.git","svn_url":"https://github.com/team-frontend/mortgage-calculator","homepage":null,"size":9176,"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,"archived":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/team-frontend/mortgage-calculator/pulls/6"},"html":{"href":"https://github.com/team-frontend/mortgage-calculator/pull/6"},"issue":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/6"},"comments":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/team-frontend/mortgage-calculator/statuses/7ff3afb94a5b875988b3111fdbe8ba5fe19667e5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"leemichelle"}}