{"action":"created","comment":{"url":"https://api.github.com/repos/abatilo/sudoku-race/pulls/comments/202225472","pull_request_review_id":136884300,"id":202225472,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjIyNTQ3Mg==","diff_hunk":"@@ -1,8 +1,11 @@\n import React from 'react';\n import renderer from 'react-test-renderer';\n+import Enzyme, {shallow} from 'enzyme';\n+import Adapter from 'enzyme-adapter-react-16';\n import App from '../App';\n \n+Enzyme.configure({'adapter': new Adapter()});\n+\n test('Create an App', () => {\n-  const tree = renderer.create(<App/>).toJSON();\n-  expect(tree).toMatchSnapshot();\n+  const wrapper = shallow(<App/>);","path":"frontend/src/__tests__/App.test.jsx","position":12,"original_position":12,"commit_id":"e409982de255684de31210c2c78d162d93da4582","original_commit_id":"e409982de255684de31210c2c78d162d93da4582","user":{"login":"abatilo","id":1634746,"node_id":"MDQ6VXNlcjE2MzQ3NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1634746?v=4","gravatar_id":"","url":"https://api.github.com/users/abatilo","html_url":"https://github.com/abatilo","followers_url":"https://api.github.com/users/abatilo/followers","following_url":"https://api.github.com/users/abatilo/following{/other_user}","gists_url":"https://api.github.com/users/abatilo/gists{/gist_id}","starred_url":"https://api.github.com/users/abatilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abatilo/subscriptions","organizations_url":"https://api.github.com/users/abatilo/orgs","repos_url":"https://api.github.com/users/abatilo/repos","events_url":"https://api.github.com/users/abatilo/events{/privacy}","received_events_url":"https://api.github.com/users/abatilo/received_events","type":"User","site_admin":false},"body":"This doesn't appear to be testing anything?","created_at":"2018-07-13T01:50:40Z","updated_at":"2018-07-13T01:51:32Z","html_url":"https://github.com/abatilo/sudoku-race/pull/20#discussion_r202225472","pull_request_url":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/abatilo/sudoku-race/pulls/comments/202225472"},"html":{"href":"https://github.com/abatilo/sudoku-race/pull/20#discussion_r202225472"},"pull_request":{"href":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20","id":199069033,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MDY5MDMz","html_url":"https://github.com/abatilo/sudoku-race/pull/20","diff_url":"https://github.com/abatilo/sudoku-race/pull/20.diff","patch_url":"https://github.com/abatilo/sudoku-race/pull/20.patch","issue_url":"https://api.github.com/repos/abatilo/sudoku-race/issues/20","number":20,"state":"open","locked":false,"title":"Testing componentDidMount method of Board component","user":{"login":"ahoward1024","id":13790819,"node_id":"MDQ6VXNlcjEzNzkwODE5","avatar_url":"https://avatars3.githubusercontent.com/u/13790819?v=4","gravatar_id":"","url":"https://api.github.com/users/ahoward1024","html_url":"https://github.com/ahoward1024","followers_url":"https://api.github.com/users/ahoward1024/followers","following_url":"https://api.github.com/users/ahoward1024/following{/other_user}","gists_url":"https://api.github.com/users/ahoward1024/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoward1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoward1024/subscriptions","organizations_url":"https://api.github.com/users/ahoward1024/orgs","repos_url":"https://api.github.com/users/ahoward1024/repos","events_url":"https://api.github.com/users/ahoward1024/events{/privacy}","received_events_url":"https://api.github.com/users/ahoward1024/received_events","type":"User","site_admin":false},"body":"The `componentDidMount` method of the Board component handles the `fetch` request to set its state of the Sudoku board. Testing was wrapped around this component by mocking the call to `fetch` and passing in fake urls to test the behavior of the board when it is unable to receive data from the server.","created_at":"2018-07-03T20:00:26Z","updated_at":"2018-07-13T01:51:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"273fb81b7c327f9ddf223b719fb755fcfd1ef334","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20/commits","review_comments_url":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20/comments","review_comment_url":"https://api.github.com/repos/abatilo/sudoku-race/pulls/comments{/number}","comments_url":"https://api.github.com/repos/abatilo/sudoku-race/issues/20/comments","statuses_url":"https://api.github.com/repos/abatilo/sudoku-race/statuses/e409982de255684de31210c2c78d162d93da4582","head":{"label":"abatilo:testing-component-did-mount","ref":"testing-component-did-mount","sha":"e409982de255684de31210c2c78d162d93da4582","user":{"login":"abatilo","id":1634746,"node_id":"MDQ6VXNlcjE2MzQ3NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1634746?v=4","gravatar_id":"","url":"https://api.github.com/users/abatilo","html_url":"https://github.com/abatilo","followers_url":"https://api.github.com/users/abatilo/followers","following_url":"https://api.github.com/users/abatilo/following{/other_user}","gists_url":"https://api.github.com/users/abatilo/gists{/gist_id}","starred_url":"https://api.github.com/users/abatilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abatilo/subscriptions","organizations_url":"https://api.github.com/users/abatilo/orgs","repos_url":"https://api.github.com/users/abatilo/repos","events_url":"https://api.github.com/users/abatilo/events{/privacy}","received_events_url":"https://api.github.com/users/abatilo/received_events","type":"User","site_admin":false},"repo":{"id":135497749,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0OTc3NDk=","name":"sudoku-race","full_name":"abatilo/sudoku-race","owner":{"login":"abatilo","id":1634746,"node_id":"MDQ6VXNlcjE2MzQ3NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1634746?v=4","gravatar_id":"","url":"https://api.github.com/users/abatilo","html_url":"https://github.com/abatilo","followers_url":"https://api.github.com/users/abatilo/followers","following_url":"https://api.github.com/users/abatilo/following{/other_user}","gists_url":"https://api.github.com/users/abatilo/gists{/gist_id}","starred_url":"https://api.github.com/users/abatilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abatilo/subscriptions","organizations_url":"https://api.github.com/users/abatilo/orgs","repos_url":"https://api.github.com/users/abatilo/repos","events_url":"https://api.github.com/users/abatilo/events{/privacy}","received_events_url":"https://api.github.com/users/abatilo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abatilo/sudoku-race","description":"2 player competitive sudoku","fork":false,"url":"https://api.github.com/repos/abatilo/sudoku-race","forks_url":"https://api.github.com/repos/abatilo/sudoku-race/forks","keys_url":"https://api.github.com/repos/abatilo/sudoku-race/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abatilo/sudoku-race/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abatilo/sudoku-race/teams","hooks_url":"https://api.github.com/repos/abatilo/sudoku-race/hooks","issue_events_url":"https://api.github.com/repos/abatilo/sudoku-race/issues/events{/number}","events_url":"https://api.github.com/repos/abatilo/sudoku-race/events","assignees_url":"https://api.github.com/repos/abatilo/sudoku-race/assignees{/user}","branches_url":"https://api.github.com/repos/abatilo/sudoku-race/branches{/branch}","tags_url":"https://api.github.com/repos/abatilo/sudoku-race/tags","blobs_url":"https://api.github.com/repos/abatilo/sudoku-race/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abatilo/sudoku-race/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abatilo/sudoku-race/git/refs{/sha}","trees_url":"https://api.github.com/repos/abatilo/sudoku-race/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abatilo/sudoku-race/statuses/{sha}","languages_url":"https://api.github.com/repos/abatilo/sudoku-race/languages","stargazers_url":"https://api.github.com/repos/abatilo/sudoku-race/stargazers","contributors_url":"https://api.github.com/repos/abatilo/sudoku-race/contributors","subscribers_url":"https://api.github.com/repos/abatilo/sudoku-race/subscribers","subscription_url":"https://api.github.com/repos/abatilo/sudoku-race/subscription","commits_url":"https://api.github.com/repos/abatilo/sudoku-race/commits{/sha}","git_commits_url":"https://api.github.com/repos/abatilo/sudoku-race/git/commits{/sha}","comments_url":"https://api.github.com/repos/abatilo/sudoku-race/comments{/number}","issue_comment_url":"https://api.github.com/repos/abatilo/sudoku-race/issues/comments{/number}","contents_url":"https://api.github.com/repos/abatilo/sudoku-race/contents/{+path}","compare_url":"https://api.github.com/repos/abatilo/sudoku-race/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abatilo/sudoku-race/merges","archive_url":"https://api.github.com/repos/abatilo/sudoku-race/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abatilo/sudoku-race/downloads","issues_url":"https://api.github.com/repos/abatilo/sudoku-race/issues{/number}","pulls_url":"https://api.github.com/repos/abatilo/sudoku-race/pulls{/number}","milestones_url":"https://api.github.com/repos/abatilo/sudoku-race/milestones{/number}","notifications_url":"https://api.github.com/repos/abatilo/sudoku-race/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abatilo/sudoku-race/labels{/name}","releases_url":"https://api.github.com/repos/abatilo/sudoku-race/releases{/id}","deployments_url":"https://api.github.com/repos/abatilo/sudoku-race/deployments","created_at":"2018-05-30T21:07:20Z","updated_at":"2018-06-24T16:49:29Z","pushed_at":"2018-07-07T04:27:32Z","git_url":"git://github.com/abatilo/sudoku-race.git","ssh_url":"git@github.com:abatilo/sudoku-race.git","clone_url":"https://github.com/abatilo/sudoku-race.git","svn_url":"https://github.com/abatilo/sudoku-race","homepage":null,"size":384,"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":"abatilo:master","ref":"master","sha":"972031b6a04409acbdd961f0deebc5f79e085511","user":{"login":"abatilo","id":1634746,"node_id":"MDQ6VXNlcjE2MzQ3NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1634746?v=4","gravatar_id":"","url":"https://api.github.com/users/abatilo","html_url":"https://github.com/abatilo","followers_url":"https://api.github.com/users/abatilo/followers","following_url":"https://api.github.com/users/abatilo/following{/other_user}","gists_url":"https://api.github.com/users/abatilo/gists{/gist_id}","starred_url":"https://api.github.com/users/abatilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abatilo/subscriptions","organizations_url":"https://api.github.com/users/abatilo/orgs","repos_url":"https://api.github.com/users/abatilo/repos","events_url":"https://api.github.com/users/abatilo/events{/privacy}","received_events_url":"https://api.github.com/users/abatilo/received_events","type":"User","site_admin":false},"repo":{"id":135497749,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0OTc3NDk=","name":"sudoku-race","full_name":"abatilo/sudoku-race","owner":{"login":"abatilo","id":1634746,"node_id":"MDQ6VXNlcjE2MzQ3NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1634746?v=4","gravatar_id":"","url":"https://api.github.com/users/abatilo","html_url":"https://github.com/abatilo","followers_url":"https://api.github.com/users/abatilo/followers","following_url":"https://api.github.com/users/abatilo/following{/other_user}","gists_url":"https://api.github.com/users/abatilo/gists{/gist_id}","starred_url":"https://api.github.com/users/abatilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abatilo/subscriptions","organizations_url":"https://api.github.com/users/abatilo/orgs","repos_url":"https://api.github.com/users/abatilo/repos","events_url":"https://api.github.com/users/abatilo/events{/privacy}","received_events_url":"https://api.github.com/users/abatilo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abatilo/sudoku-race","description":"2 player competitive sudoku","fork":false,"url":"https://api.github.com/repos/abatilo/sudoku-race","forks_url":"https://api.github.com/repos/abatilo/sudoku-race/forks","keys_url":"https://api.github.com/repos/abatilo/sudoku-race/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abatilo/sudoku-race/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abatilo/sudoku-race/teams","hooks_url":"https://api.github.com/repos/abatilo/sudoku-race/hooks","issue_events_url":"https://api.github.com/repos/abatilo/sudoku-race/issues/events{/number}","events_url":"https://api.github.com/repos/abatilo/sudoku-race/events","assignees_url":"https://api.github.com/repos/abatilo/sudoku-race/assignees{/user}","branches_url":"https://api.github.com/repos/abatilo/sudoku-race/branches{/branch}","tags_url":"https://api.github.com/repos/abatilo/sudoku-race/tags","blobs_url":"https://api.github.com/repos/abatilo/sudoku-race/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abatilo/sudoku-race/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abatilo/sudoku-race/git/refs{/sha}","trees_url":"https://api.github.com/repos/abatilo/sudoku-race/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abatilo/sudoku-race/statuses/{sha}","languages_url":"https://api.github.com/repos/abatilo/sudoku-race/languages","stargazers_url":"https://api.github.com/repos/abatilo/sudoku-race/stargazers","contributors_url":"https://api.github.com/repos/abatilo/sudoku-race/contributors","subscribers_url":"https://api.github.com/repos/abatilo/sudoku-race/subscribers","subscription_url":"https://api.github.com/repos/abatilo/sudoku-race/subscription","commits_url":"https://api.github.com/repos/abatilo/sudoku-race/commits{/sha}","git_commits_url":"https://api.github.com/repos/abatilo/sudoku-race/git/commits{/sha}","comments_url":"https://api.github.com/repos/abatilo/sudoku-race/comments{/number}","issue_comment_url":"https://api.github.com/repos/abatilo/sudoku-race/issues/comments{/number}","contents_url":"https://api.github.com/repos/abatilo/sudoku-race/contents/{+path}","compare_url":"https://api.github.com/repos/abatilo/sudoku-race/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abatilo/sudoku-race/merges","archive_url":"https://api.github.com/repos/abatilo/sudoku-race/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abatilo/sudoku-race/downloads","issues_url":"https://api.github.com/repos/abatilo/sudoku-race/issues{/number}","pulls_url":"https://api.github.com/repos/abatilo/sudoku-race/pulls{/number}","milestones_url":"https://api.github.com/repos/abatilo/sudoku-race/milestones{/number}","notifications_url":"https://api.github.com/repos/abatilo/sudoku-race/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abatilo/sudoku-race/labels{/name}","releases_url":"https://api.github.com/repos/abatilo/sudoku-race/releases{/id}","deployments_url":"https://api.github.com/repos/abatilo/sudoku-race/deployments","created_at":"2018-05-30T21:07:20Z","updated_at":"2018-06-24T16:49:29Z","pushed_at":"2018-07-07T04:27:32Z","git_url":"git://github.com/abatilo/sudoku-race.git","ssh_url":"git@github.com:abatilo/sudoku-race.git","clone_url":"https://github.com/abatilo/sudoku-race.git","svn_url":"https://github.com/abatilo/sudoku-race","homepage":null,"size":384,"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/abatilo/sudoku-race/pulls/20"},"html":{"href":"https://github.com/abatilo/sudoku-race/pull/20"},"issue":{"href":"https://api.github.com/repos/abatilo/sudoku-race/issues/20"},"comments":{"href":"https://api.github.com/repos/abatilo/sudoku-race/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/abatilo/sudoku-race/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/abatilo/sudoku-race/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/abatilo/sudoku-race/statuses/e409982de255684de31210c2c78d162d93da4582"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"abatilo"}}