{"action":"opened","number":2190,"pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/2190","id":95875224,"html_url":"https://github.com/facebook/jest/pull/2190","diff_url":"https://github.com/facebook/jest/pull/2190.diff","patch_url":"https://github.com/facebook/jest/pull/2190.patch","issue_url":"https://api.github.com/repos/facebook/jest/issues/2190","number":2190,"state":"open","locked":false,"title":"Use JSON from the test context, not the parent context.","user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"body":"**Summary**\r\nSee https://github.com/facebook/jest/issues/1822#issuecomment-263717270. For some reason this didn't work previously but now it does and it is great!\r\n\r\ncc @kentcdodds who also had trouble with this.\r\n\r\n**Test plan**\r\njest","created_at":"2016-11-30T11:38:07Z","updated_at":"2016-11-30T11:38:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/jest/pulls/2190/commits","review_comments_url":"https://api.github.com/repos/facebook/jest/pulls/2190/comments","review_comment_url":"https://api.github.com/repos/facebook/jest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/jest/issues/2190/comments","statuses_url":"https://api.github.com/repos/facebook/jest/statuses/0942c8c6b62cca9066e2d3edb35c6efaee44c8df","head":{"label":"cpojer:master","ref":"master","sha":"0942c8c6b62cca9066e2d3edb35c6efaee44c8df","user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"repo":{"id":40508988,"name":"jest","full_name":"cpojer/jest","owner":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpojer/jest","description":"Painless JavaScript Unit Testing built on top of the Jasmine test framework.","fork":true,"url":"https://api.github.com/repos/cpojer/jest","forks_url":"https://api.github.com/repos/cpojer/jest/forks","keys_url":"https://api.github.com/repos/cpojer/jest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpojer/jest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpojer/jest/teams","hooks_url":"https://api.github.com/repos/cpojer/jest/hooks","issue_events_url":"https://api.github.com/repos/cpojer/jest/issues/events{/number}","events_url":"https://api.github.com/repos/cpojer/jest/events","assignees_url":"https://api.github.com/repos/cpojer/jest/assignees{/user}","branches_url":"https://api.github.com/repos/cpojer/jest/branches{/branch}","tags_url":"https://api.github.com/repos/cpojer/jest/tags","blobs_url":"https://api.github.com/repos/cpojer/jest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpojer/jest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpojer/jest/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpojer/jest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpojer/jest/statuses/{sha}","languages_url":"https://api.github.com/repos/cpojer/jest/languages","stargazers_url":"https://api.github.com/repos/cpojer/jest/stargazers","contributors_url":"https://api.github.com/repos/cpojer/jest/contributors","subscribers_url":"https://api.github.com/repos/cpojer/jest/subscribers","subscription_url":"https://api.github.com/repos/cpojer/jest/subscription","commits_url":"https://api.github.com/repos/cpojer/jest/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpojer/jest/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpojer/jest/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpojer/jest/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpojer/jest/contents/{+path}","compare_url":"https://api.github.com/repos/cpojer/jest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpojer/jest/merges","archive_url":"https://api.github.com/repos/cpojer/jest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpojer/jest/downloads","issues_url":"https://api.github.com/repos/cpojer/jest/issues{/number}","pulls_url":"https://api.github.com/repos/cpojer/jest/pulls{/number}","milestones_url":"https://api.github.com/repos/cpojer/jest/milestones{/number}","notifications_url":"https://api.github.com/repos/cpojer/jest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpojer/jest/labels{/name}","releases_url":"https://api.github.com/repos/cpojer/jest/releases{/id}","deployments_url":"https://api.github.com/repos/cpojer/jest/deployments","created_at":"2015-08-10T22:21:13Z","updated_at":"2016-10-25T03:46:28Z","pushed_at":"2016-11-30T11:33:34Z","git_url":"git://github.com/cpojer/jest.git","ssh_url":"git@github.com:cpojer/jest.git","clone_url":"https://github.com/cpojer/jest.git","svn_url":"https://github.com/cpojer/jest","homepage":"http://facebook.github.io/jest/","size":7496,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"48c32769559ec7274a130e0ff83f1dc55ccb787f","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":15062869,"name":"jest","full_name":"facebook/jest","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/jest","description":"🃏 Painless JavaScript Testing.","fork":false,"url":"https://api.github.com/repos/facebook/jest","forks_url":"https://api.github.com/repos/facebook/jest/forks","keys_url":"https://api.github.com/repos/facebook/jest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/jest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/jest/teams","hooks_url":"https://api.github.com/repos/facebook/jest/hooks","issue_events_url":"https://api.github.com/repos/facebook/jest/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/jest/events","assignees_url":"https://api.github.com/repos/facebook/jest/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/jest/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/jest/tags","blobs_url":"https://api.github.com/repos/facebook/jest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/jest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/jest/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/jest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/jest/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/jest/languages","stargazers_url":"https://api.github.com/repos/facebook/jest/stargazers","contributors_url":"https://api.github.com/repos/facebook/jest/contributors","subscribers_url":"https://api.github.com/repos/facebook/jest/subscribers","subscription_url":"https://api.github.com/repos/facebook/jest/subscription","commits_url":"https://api.github.com/repos/facebook/jest/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/jest/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/jest/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/jest/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/jest/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/jest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/jest/merges","archive_url":"https://api.github.com/repos/facebook/jest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/jest/downloads","issues_url":"https://api.github.com/repos/facebook/jest/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/jest/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/jest/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/jest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/jest/labels{/name}","releases_url":"https://api.github.com/repos/facebook/jest/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/jest/deployments","created_at":"2013-12-10T00:18:04Z","updated_at":"2016-11-30T10:39:00Z","pushed_at":"2016-11-30T04:24:36Z","git_url":"git://github.com/facebook/jest.git","ssh_url":"git@github.com:facebook/jest.git","clone_url":"https://github.com/facebook/jest.git","svn_url":"https://github.com/facebook/jest","homepage":"http://facebook.github.io/jest/","size":10981,"stargazers_count":6500,"watchers_count":6500,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":811,"mirror_url":null,"open_issues_count":89,"forks":811,"open_issues":89,"watchers":6500,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/jest/pulls/2190"},"html":{"href":"https://github.com/facebook/jest/pull/2190"},"issue":{"href":"https://api.github.com/repos/facebook/jest/issues/2190"},"comments":{"href":"https://api.github.com/repos/facebook/jest/issues/2190/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/jest/pulls/2190/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/jest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/jest/pulls/2190/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/jest/statuses/0942c8c6b62cca9066e2d3edb35c6efaee44c8df"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"cpojer"}}