{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/2","id":68674683,"html_url":"https://github.com/chrisdaniells/Flickr-API/pull/2","diff_url":"https://github.com/chrisdaniells/Flickr-API/pull/2.diff","patch_url":"https://github.com/chrisdaniells/Flickr-API/pull/2.patch","issue_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/2","number":2,"state":"open","locked":false,"title":"Move testing to mocha","user":{"login":"chrisdaniells","id":3277034,"avatar_url":"https://avatars.githubusercontent.com/u/3277034?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdaniells","html_url":"https://github.com/chrisdaniells","followers_url":"https://api.github.com/users/chrisdaniells/followers","following_url":"https://api.github.com/users/chrisdaniells/following{/other_user}","gists_url":"https://api.github.com/users/chrisdaniells/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdaniells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdaniells/subscriptions","organizations_url":"https://api.github.com/users/chrisdaniells/orgs","repos_url":"https://api.github.com/users/chrisdaniells/repos","events_url":"https://api.github.com/users/chrisdaniells/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdaniells/received_events","type":"User","site_admin":false},"body":"After encountering an error using Jest (inst.render is not a function) and finding no solutions, I changed to test with Mocha, having used it in frontend testing before. It worked seamlessly and I was able to test as accurately and test the same things as I would have with React's Jest","created_at":"2016-05-03T08:47:46Z","updated_at":"2016-05-03T08:47:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/2/commits","review_comments_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/2/comments","review_comment_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/2/comments","statuses_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/statuses/4b8082a30d868b43f1b386c749d52ea2ecd845db","head":{"label":"chrisdaniells:fix-tests","ref":"fix-tests","sha":"4b8082a30d868b43f1b386c749d52ea2ecd845db","user":{"login":"chrisdaniells","id":3277034,"avatar_url":"https://avatars.githubusercontent.com/u/3277034?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdaniells","html_url":"https://github.com/chrisdaniells","followers_url":"https://api.github.com/users/chrisdaniells/followers","following_url":"https://api.github.com/users/chrisdaniells/following{/other_user}","gists_url":"https://api.github.com/users/chrisdaniells/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdaniells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdaniells/subscriptions","organizations_url":"https://api.github.com/users/chrisdaniells/orgs","repos_url":"https://api.github.com/users/chrisdaniells/repos","events_url":"https://api.github.com/users/chrisdaniells/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdaniells/received_events","type":"User","site_admin":false},"repo":{"id":56846190,"name":"Flickr-API","full_name":"chrisdaniells/Flickr-API","owner":{"login":"chrisdaniells","id":3277034,"avatar_url":"https://avatars.githubusercontent.com/u/3277034?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdaniells","html_url":"https://github.com/chrisdaniells","followers_url":"https://api.github.com/users/chrisdaniells/followers","following_url":"https://api.github.com/users/chrisdaniells/following{/other_user}","gists_url":"https://api.github.com/users/chrisdaniells/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdaniells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdaniells/subscriptions","organizations_url":"https://api.github.com/users/chrisdaniells/orgs","repos_url":"https://api.github.com/users/chrisdaniells/repos","events_url":"https://api.github.com/users/chrisdaniells/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdaniells/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisdaniells/Flickr-API","description":"","fork":false,"url":"https://api.github.com/repos/chrisdaniells/Flickr-API","forks_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/forks","keys_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/teams","hooks_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/hooks","issue_events_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/events{/number}","events_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/events","assignees_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/assignees{/user}","branches_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/branches{/branch}","tags_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/tags","blobs_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/languages","stargazers_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/stargazers","contributors_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/contributors","subscribers_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/subscribers","subscription_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/subscription","commits_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/contents/{+path}","compare_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/merges","archive_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/downloads","issues_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues{/number}","pulls_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/labels{/name}","releases_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/releases{/id}","deployments_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/deployments","created_at":"2016-04-22T10:03:51Z","updated_at":"2016-04-23T15:28:00Z","pushed_at":"2016-05-03T08:46:15Z","git_url":"git://github.com/chrisdaniells/Flickr-API.git","ssh_url":"git@github.com:chrisdaniells/Flickr-API.git","clone_url":"https://github.com/chrisdaniells/Flickr-API.git","svn_url":"https://github.com/chrisdaniells/Flickr-API","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"chrisdaniells:master","ref":"master","sha":"36d1a0c47af59f31a3fc0d617871ccd2cb27f9ef","user":{"login":"chrisdaniells","id":3277034,"avatar_url":"https://avatars.githubusercontent.com/u/3277034?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdaniells","html_url":"https://github.com/chrisdaniells","followers_url":"https://api.github.com/users/chrisdaniells/followers","following_url":"https://api.github.com/users/chrisdaniells/following{/other_user}","gists_url":"https://api.github.com/users/chrisdaniells/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdaniells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdaniells/subscriptions","organizations_url":"https://api.github.com/users/chrisdaniells/orgs","repos_url":"https://api.github.com/users/chrisdaniells/repos","events_url":"https://api.github.com/users/chrisdaniells/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdaniells/received_events","type":"User","site_admin":false},"repo":{"id":56846190,"name":"Flickr-API","full_name":"chrisdaniells/Flickr-API","owner":{"login":"chrisdaniells","id":3277034,"avatar_url":"https://avatars.githubusercontent.com/u/3277034?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdaniells","html_url":"https://github.com/chrisdaniells","followers_url":"https://api.github.com/users/chrisdaniells/followers","following_url":"https://api.github.com/users/chrisdaniells/following{/other_user}","gists_url":"https://api.github.com/users/chrisdaniells/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdaniells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdaniells/subscriptions","organizations_url":"https://api.github.com/users/chrisdaniells/orgs","repos_url":"https://api.github.com/users/chrisdaniells/repos","events_url":"https://api.github.com/users/chrisdaniells/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdaniells/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisdaniells/Flickr-API","description":"","fork":false,"url":"https://api.github.com/repos/chrisdaniells/Flickr-API","forks_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/forks","keys_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/teams","hooks_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/hooks","issue_events_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/events{/number}","events_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/events","assignees_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/assignees{/user}","branches_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/branches{/branch}","tags_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/tags","blobs_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/languages","stargazers_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/stargazers","contributors_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/contributors","subscribers_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/subscribers","subscription_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/subscription","commits_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/contents/{+path}","compare_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/merges","archive_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/downloads","issues_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues{/number}","pulls_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/labels{/name}","releases_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/releases{/id}","deployments_url":"https://api.github.com/repos/chrisdaniells/Flickr-API/deployments","created_at":"2016-04-22T10:03:51Z","updated_at":"2016-04-23T15:28:00Z","pushed_at":"2016-05-03T08:46:15Z","git_url":"git://github.com/chrisdaniells/Flickr-API.git","ssh_url":"git@github.com:chrisdaniells/Flickr-API.git","clone_url":"https://github.com/chrisdaniells/Flickr-API.git","svn_url":"https://github.com/chrisdaniells/Flickr-API","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/2"},"html":{"href":"https://github.com/chrisdaniells/Flickr-API/pull/2"},"issue":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/2"},"comments":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/chrisdaniells/Flickr-API/statuses/4b8082a30d868b43f1b386c749d52ea2ecd845db"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":58,"deletions":11,"changed_files":3}}