{"action":"opened","number":1745,"pull_request":{"url":"https://api.github.com/repos/mochajs/mocha/pulls/1745","id":37632246,"html_url":"https://github.com/mochajs/mocha/pull/1745","diff_url":"https://github.com/mochajs/mocha/pull/1745.diff","patch_url":"https://github.com/mochajs/mocha/pull/1745.patch","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/1745","number":1745,"state":"open","locked":false,"title":"Fail hook emitter looses file context","user":{"login":"askhogan","id":635449,"avatar_url":"https://avatars.githubusercontent.com/u/635449?v=3","gravatar_id":"","url":"https://api.github.com/users/askhogan","html_url":"https://github.com/askhogan","followers_url":"https://api.github.com/users/askhogan/followers","following_url":"https://api.github.com/users/askhogan/following{/other_user}","gists_url":"https://api.github.com/users/askhogan/gists{/gist_id}","starred_url":"https://api.github.com/users/askhogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askhogan/subscriptions","organizations_url":"https://api.github.com/users/askhogan/orgs","repos_url":"https://api.github.com/users/askhogan/repos","events_url":"https://api.github.com/users/askhogan/events{/privacy}","received_events_url":"https://api.github.com/users/askhogan/received_events","type":"User","site_admin":false},"body":"When receiving fail emitters you do not get the file where the fail hook occurred, as you do with regular test failures.  This pull https://github.com/mochajs/mocha/pull/1447 handles the title issue, but the file issue remains outstanding.","created_at":"2015-06-13T22:11:31Z","updated_at":"2015-06-13T22:11:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mochajs/mocha/pulls/1745/commits","review_comments_url":"https://api.github.com/repos/mochajs/mocha/pulls/1745/comments","review_comment_url":"https://api.github.com/repos/mochajs/mocha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/1745/comments","statuses_url":"https://api.github.com/repos/mochajs/mocha/statuses/f46ecdbea8efeb9f7301775fa0c86e6f977a0f19","head":{"label":"askhogan:patch-2","ref":"patch-2","sha":"f46ecdbea8efeb9f7301775fa0c86e6f977a0f19","user":{"login":"askhogan","id":635449,"avatar_url":"https://avatars.githubusercontent.com/u/635449?v=3","gravatar_id":"","url":"https://api.github.com/users/askhogan","html_url":"https://github.com/askhogan","followers_url":"https://api.github.com/users/askhogan/followers","following_url":"https://api.github.com/users/askhogan/following{/other_user}","gists_url":"https://api.github.com/users/askhogan/gists{/gist_id}","starred_url":"https://api.github.com/users/askhogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askhogan/subscriptions","organizations_url":"https://api.github.com/users/askhogan/orgs","repos_url":"https://api.github.com/users/askhogan/repos","events_url":"https://api.github.com/users/askhogan/events{/privacy}","received_events_url":"https://api.github.com/users/askhogan/received_events","type":"User","site_admin":false},"repo":{"id":36711685,"name":"mocha","full_name":"askhogan/mocha","owner":{"login":"askhogan","id":635449,"avatar_url":"https://avatars.githubusercontent.com/u/635449?v=3","gravatar_id":"","url":"https://api.github.com/users/askhogan","html_url":"https://github.com/askhogan","followers_url":"https://api.github.com/users/askhogan/followers","following_url":"https://api.github.com/users/askhogan/following{/other_user}","gists_url":"https://api.github.com/users/askhogan/gists{/gist_id}","starred_url":"https://api.github.com/users/askhogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askhogan/subscriptions","organizations_url":"https://api.github.com/users/askhogan/orgs","repos_url":"https://api.github.com/users/askhogan/repos","events_url":"https://api.github.com/users/askhogan/events{/privacy}","received_events_url":"https://api.github.com/users/askhogan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/askhogan/mocha","description":"mocha - simple, flexible, fun javascript test framework for node.js & the browser. (BDD, TDD, QUnit styles via interfaces)","fork":true,"url":"https://api.github.com/repos/askhogan/mocha","forks_url":"https://api.github.com/repos/askhogan/mocha/forks","keys_url":"https://api.github.com/repos/askhogan/mocha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/askhogan/mocha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/askhogan/mocha/teams","hooks_url":"https://api.github.com/repos/askhogan/mocha/hooks","issue_events_url":"https://api.github.com/repos/askhogan/mocha/issues/events{/number}","events_url":"https://api.github.com/repos/askhogan/mocha/events","assignees_url":"https://api.github.com/repos/askhogan/mocha/assignees{/user}","branches_url":"https://api.github.com/repos/askhogan/mocha/branches{/branch}","tags_url":"https://api.github.com/repos/askhogan/mocha/tags","blobs_url":"https://api.github.com/repos/askhogan/mocha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/askhogan/mocha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/askhogan/mocha/git/refs{/sha}","trees_url":"https://api.github.com/repos/askhogan/mocha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/askhogan/mocha/statuses/{sha}","languages_url":"https://api.github.com/repos/askhogan/mocha/languages","stargazers_url":"https://api.github.com/repos/askhogan/mocha/stargazers","contributors_url":"https://api.github.com/repos/askhogan/mocha/contributors","subscribers_url":"https://api.github.com/repos/askhogan/mocha/subscribers","subscription_url":"https://api.github.com/repos/askhogan/mocha/subscription","commits_url":"https://api.github.com/repos/askhogan/mocha/commits{/sha}","git_commits_url":"https://api.github.com/repos/askhogan/mocha/git/commits{/sha}","comments_url":"https://api.github.com/repos/askhogan/mocha/comments{/number}","issue_comment_url":"https://api.github.com/repos/askhogan/mocha/issues/comments{/number}","contents_url":"https://api.github.com/repos/askhogan/mocha/contents/{+path}","compare_url":"https://api.github.com/repos/askhogan/mocha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/askhogan/mocha/merges","archive_url":"https://api.github.com/repos/askhogan/mocha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/askhogan/mocha/downloads","issues_url":"https://api.github.com/repos/askhogan/mocha/issues{/number}","pulls_url":"https://api.github.com/repos/askhogan/mocha/pulls{/number}","milestones_url":"https://api.github.com/repos/askhogan/mocha/milestones{/number}","notifications_url":"https://api.github.com/repos/askhogan/mocha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/askhogan/mocha/labels{/name}","releases_url":"https://api.github.com/repos/askhogan/mocha/releases{/id}","created_at":"2015-06-02T06:03:15Z","updated_at":"2015-06-02T06:03:18Z","pushed_at":"2015-06-13T22:11:23Z","git_url":"git://github.com/askhogan/mocha.git","ssh_url":"git@github.com:askhogan/mocha.git","clone_url":"https://github.com/askhogan/mocha.git","svn_url":"https://github.com/askhogan/mocha","homepage":"http://mochajs.org","size":5066,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mochajs:master","ref":"master","sha":"44b0045463907b1d7963a2e9560c24d9552aac5d","user":{"login":"mochajs","id":8770005,"avatar_url":"https://avatars.githubusercontent.com/u/8770005?v=3","gravatar_id":"","url":"https://api.github.com/users/mochajs","html_url":"https://github.com/mochajs","followers_url":"https://api.github.com/users/mochajs/followers","following_url":"https://api.github.com/users/mochajs/following{/other_user}","gists_url":"https://api.github.com/users/mochajs/gists{/gist_id}","starred_url":"https://api.github.com/users/mochajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mochajs/subscriptions","organizations_url":"https://api.github.com/users/mochajs/orgs","repos_url":"https://api.github.com/users/mochajs/repos","events_url":"https://api.github.com/users/mochajs/events{/privacy}","received_events_url":"https://api.github.com/users/mochajs/received_events","type":"Organization","site_admin":false},"repo":{"id":1451352,"name":"mocha","full_name":"mochajs/mocha","owner":{"login":"mochajs","id":8770005,"avatar_url":"https://avatars.githubusercontent.com/u/8770005?v=3","gravatar_id":"","url":"https://api.github.com/users/mochajs","html_url":"https://github.com/mochajs","followers_url":"https://api.github.com/users/mochajs/followers","following_url":"https://api.github.com/users/mochajs/following{/other_user}","gists_url":"https://api.github.com/users/mochajs/gists{/gist_id}","starred_url":"https://api.github.com/users/mochajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mochajs/subscriptions","organizations_url":"https://api.github.com/users/mochajs/orgs","repos_url":"https://api.github.com/users/mochajs/repos","events_url":"https://api.github.com/users/mochajs/events{/privacy}","received_events_url":"https://api.github.com/users/mochajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mochajs/mocha","description":"mocha - simple, flexible, fun javascript test framework for node.js & the browser. (BDD, TDD, QUnit styles via interfaces)","fork":false,"url":"https://api.github.com/repos/mochajs/mocha","forks_url":"https://api.github.com/repos/mochajs/mocha/forks","keys_url":"https://api.github.com/repos/mochajs/mocha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mochajs/mocha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mochajs/mocha/teams","hooks_url":"https://api.github.com/repos/mochajs/mocha/hooks","issue_events_url":"https://api.github.com/repos/mochajs/mocha/issues/events{/number}","events_url":"https://api.github.com/repos/mochajs/mocha/events","assignees_url":"https://api.github.com/repos/mochajs/mocha/assignees{/user}","branches_url":"https://api.github.com/repos/mochajs/mocha/branches{/branch}","tags_url":"https://api.github.com/repos/mochajs/mocha/tags","blobs_url":"https://api.github.com/repos/mochajs/mocha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mochajs/mocha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mochajs/mocha/git/refs{/sha}","trees_url":"https://api.github.com/repos/mochajs/mocha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mochajs/mocha/statuses/{sha}","languages_url":"https://api.github.com/repos/mochajs/mocha/languages","stargazers_url":"https://api.github.com/repos/mochajs/mocha/stargazers","contributors_url":"https://api.github.com/repos/mochajs/mocha/contributors","subscribers_url":"https://api.github.com/repos/mochajs/mocha/subscribers","subscription_url":"https://api.github.com/repos/mochajs/mocha/subscription","commits_url":"https://api.github.com/repos/mochajs/mocha/commits{/sha}","git_commits_url":"https://api.github.com/repos/mochajs/mocha/git/commits{/sha}","comments_url":"https://api.github.com/repos/mochajs/mocha/comments{/number}","issue_comment_url":"https://api.github.com/repos/mochajs/mocha/issues/comments{/number}","contents_url":"https://api.github.com/repos/mochajs/mocha/contents/{+path}","compare_url":"https://api.github.com/repos/mochajs/mocha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mochajs/mocha/merges","archive_url":"https://api.github.com/repos/mochajs/mocha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mochajs/mocha/downloads","issues_url":"https://api.github.com/repos/mochajs/mocha/issues{/number}","pulls_url":"https://api.github.com/repos/mochajs/mocha/pulls{/number}","milestones_url":"https://api.github.com/repos/mochajs/mocha/milestones{/number}","notifications_url":"https://api.github.com/repos/mochajs/mocha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mochajs/mocha/labels{/name}","releases_url":"https://api.github.com/repos/mochajs/mocha/releases{/id}","created_at":"2011-03-07T18:44:25Z","updated_at":"2015-06-13T09:56:23Z","pushed_at":"2015-06-13T08:17:27Z","git_url":"git://github.com/mochajs/mocha.git","ssh_url":"git@github.com:mochajs/mocha.git","clone_url":"https://github.com/mochajs/mocha.git","svn_url":"https://github.com/mochajs/mocha","homepage":"http://mochajs.org","size":12690,"stargazers_count":6819,"watchers_count":6819,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1061,"mirror_url":null,"open_issues_count":151,"forks":1061,"open_issues":151,"watchers":6819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/1745"},"html":{"href":"https://github.com/mochajs/mocha/pull/1745"},"issue":{"href":"https://api.github.com/repos/mochajs/mocha/issues/1745"},"comments":{"href":"https://api.github.com/repos/mochajs/mocha/issues/1745/comments"},"review_comments":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/1745/comments"},"review_comment":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/1745/commits"},"statuses":{"href":"https://api.github.com/repos/mochajs/mocha/statuses/f46ecdbea8efeb9f7301775fa0c86e6f977a0f19"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}