{"action":"created","comment":{"url":"https://api.github.com/repos/isaacs/node-tap/pulls/comments/32491685","id":32491685,"diff_hunk":"@@ -88,6 +89,20 @@ function Test (options) {\n   Readable.apply(this, options)\n }\n \n+Test.prototype.beforeEach = function (fn) {\n+  this.on('beforechild', fn)","path":"lib/test.js","position":13,"original_position":13,"commit_id":"42f2ff85056a254d846df565d87a1d235d220326","original_commit_id":"42f2ff85056a254d846df565d87a1d235d220326","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"body":"I think that having `mocha`ish methods that don't behave identically to their namesakes introduces a bit of confusion. I'm a big fan of gradually splitting this functionality into its own module that has feature parity with mocha.","created_at":"2015-06-16T05:14:37Z","updated_at":"2015-06-16T05:14:37Z","html_url":"https://github.com/isaacs/node-tap/pull/143#discussion_r32491685","pull_request_url":"https://api.github.com/repos/isaacs/node-tap/pulls/143","_links":{"self":{"href":"https://api.github.com/repos/isaacs/node-tap/pulls/comments/32491685"},"html":{"href":"https://github.com/isaacs/node-tap/pull/143#discussion_r32491685"},"pull_request":{"href":"https://api.github.com/repos/isaacs/node-tap/pulls/143"}}},"pull_request":{"url":"https://api.github.com/repos/isaacs/node-tap/pulls/143","id":37417235,"html_url":"https://github.com/isaacs/node-tap/pull/143","diff_url":"https://github.com/isaacs/node-tap/pull/143.diff","patch_url":"https://github.com/isaacs/node-tap/pull/143.patch","issue_url":"https://api.github.com/repos/isaacs/node-tap/issues/143","number":143,"state":"open","locked":false,"title":"Teardown","user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"body":"Adds `tap.tearDown(fn)`.\r\n\r\nNote the long commit message in a2ad291.  There's a bit of weirdness in this change.\r\n\r\nStill needs tests.  Please don't land yet.\r\n\r\n7fb7094 is a bit unrelated, probably should port that over to master and remove it from this branch.\r\n\r\nr? @rmg @bcoe\r\n","created_at":"2015-06-10T23:57:10Z","updated_at":"2015-06-16T05:14:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12e5e764e17b40e7f83dc645725a2f31eb6d9c7c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/isaacs/node-tap/pulls/143/commits","review_comments_url":"https://api.github.com/repos/isaacs/node-tap/pulls/143/comments","review_comment_url":"https://api.github.com/repos/isaacs/node-tap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/isaacs/node-tap/issues/143/comments","statuses_url":"https://api.github.com/repos/isaacs/node-tap/statuses/42f2ff85056a254d846df565d87a1d235d220326","head":{"label":"isaacs:teardown","ref":"teardown","sha":"42f2ff85056a254d846df565d87a1d235d220326","user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"repo":{"id":1507818,"name":"node-tap","full_name":"isaacs/node-tap","owner":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isaacs/node-tap","description":"Test Anything Protocol tools for node","fork":false,"url":"https://api.github.com/repos/isaacs/node-tap","forks_url":"https://api.github.com/repos/isaacs/node-tap/forks","keys_url":"https://api.github.com/repos/isaacs/node-tap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isaacs/node-tap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isaacs/node-tap/teams","hooks_url":"https://api.github.com/repos/isaacs/node-tap/hooks","issue_events_url":"https://api.github.com/repos/isaacs/node-tap/issues/events{/number}","events_url":"https://api.github.com/repos/isaacs/node-tap/events","assignees_url":"https://api.github.com/repos/isaacs/node-tap/assignees{/user}","branches_url":"https://api.github.com/repos/isaacs/node-tap/branches{/branch}","tags_url":"https://api.github.com/repos/isaacs/node-tap/tags","blobs_url":"https://api.github.com/repos/isaacs/node-tap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isaacs/node-tap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isaacs/node-tap/git/refs{/sha}","trees_url":"https://api.github.com/repos/isaacs/node-tap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isaacs/node-tap/statuses/{sha}","languages_url":"https://api.github.com/repos/isaacs/node-tap/languages","stargazers_url":"https://api.github.com/repos/isaacs/node-tap/stargazers","contributors_url":"https://api.github.com/repos/isaacs/node-tap/contributors","subscribers_url":"https://api.github.com/repos/isaacs/node-tap/subscribers","subscription_url":"https://api.github.com/repos/isaacs/node-tap/subscription","commits_url":"https://api.github.com/repos/isaacs/node-tap/commits{/sha}","git_commits_url":"https://api.github.com/repos/isaacs/node-tap/git/commits{/sha}","comments_url":"https://api.github.com/repos/isaacs/node-tap/comments{/number}","issue_comment_url":"https://api.github.com/repos/isaacs/node-tap/issues/comments{/number}","contents_url":"https://api.github.com/repos/isaacs/node-tap/contents/{+path}","compare_url":"https://api.github.com/repos/isaacs/node-tap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isaacs/node-tap/merges","archive_url":"https://api.github.com/repos/isaacs/node-tap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isaacs/node-tap/downloads","issues_url":"https://api.github.com/repos/isaacs/node-tap/issues{/number}","pulls_url":"https://api.github.com/repos/isaacs/node-tap/pulls{/number}","milestones_url":"https://api.github.com/repos/isaacs/node-tap/milestones{/number}","notifications_url":"https://api.github.com/repos/isaacs/node-tap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isaacs/node-tap/labels{/name}","releases_url":"https://api.github.com/repos/isaacs/node-tap/releases{/id}","created_at":"2011-03-21T18:02:54Z","updated_at":"2015-06-14T10:56:03Z","pushed_at":"2015-06-11T00:01:09Z","git_url":"git://github.com/isaacs/node-tap.git","ssh_url":"git@github.com:isaacs/node-tap.git","clone_url":"https://github.com/isaacs/node-tap.git","svn_url":"https://github.com/isaacs/node-tap","homepage":"","size":1551,"stargazers_count":487,"watchers_count":487,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":4,"forks":63,"open_issues":4,"watchers":487,"default_branch":"master"}},"base":{"label":"isaacs:master","ref":"master","sha":"c77a0a2da9e42cc61f4fc3d25f772d1d14cf6e48","user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"repo":{"id":1507818,"name":"node-tap","full_name":"isaacs/node-tap","owner":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isaacs/node-tap","description":"Test Anything Protocol tools for node","fork":false,"url":"https://api.github.com/repos/isaacs/node-tap","forks_url":"https://api.github.com/repos/isaacs/node-tap/forks","keys_url":"https://api.github.com/repos/isaacs/node-tap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isaacs/node-tap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isaacs/node-tap/teams","hooks_url":"https://api.github.com/repos/isaacs/node-tap/hooks","issue_events_url":"https://api.github.com/repos/isaacs/node-tap/issues/events{/number}","events_url":"https://api.github.com/repos/isaacs/node-tap/events","assignees_url":"https://api.github.com/repos/isaacs/node-tap/assignees{/user}","branches_url":"https://api.github.com/repos/isaacs/node-tap/branches{/branch}","tags_url":"https://api.github.com/repos/isaacs/node-tap/tags","blobs_url":"https://api.github.com/repos/isaacs/node-tap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isaacs/node-tap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isaacs/node-tap/git/refs{/sha}","trees_url":"https://api.github.com/repos/isaacs/node-tap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isaacs/node-tap/statuses/{sha}","languages_url":"https://api.github.com/repos/isaacs/node-tap/languages","stargazers_url":"https://api.github.com/repos/isaacs/node-tap/stargazers","contributors_url":"https://api.github.com/repos/isaacs/node-tap/contributors","subscribers_url":"https://api.github.com/repos/isaacs/node-tap/subscribers","subscription_url":"https://api.github.com/repos/isaacs/node-tap/subscription","commits_url":"https://api.github.com/repos/isaacs/node-tap/commits{/sha}","git_commits_url":"https://api.github.com/repos/isaacs/node-tap/git/commits{/sha}","comments_url":"https://api.github.com/repos/isaacs/node-tap/comments{/number}","issue_comment_url":"https://api.github.com/repos/isaacs/node-tap/issues/comments{/number}","contents_url":"https://api.github.com/repos/isaacs/node-tap/contents/{+path}","compare_url":"https://api.github.com/repos/isaacs/node-tap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isaacs/node-tap/merges","archive_url":"https://api.github.com/repos/isaacs/node-tap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isaacs/node-tap/downloads","issues_url":"https://api.github.com/repos/isaacs/node-tap/issues{/number}","pulls_url":"https://api.github.com/repos/isaacs/node-tap/pulls{/number}","milestones_url":"https://api.github.com/repos/isaacs/node-tap/milestones{/number}","notifications_url":"https://api.github.com/repos/isaacs/node-tap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isaacs/node-tap/labels{/name}","releases_url":"https://api.github.com/repos/isaacs/node-tap/releases{/id}","created_at":"2011-03-21T18:02:54Z","updated_at":"2015-06-14T10:56:03Z","pushed_at":"2015-06-11T00:01:09Z","git_url":"git://github.com/isaacs/node-tap.git","ssh_url":"git@github.com:isaacs/node-tap.git","clone_url":"https://github.com/isaacs/node-tap.git","svn_url":"https://github.com/isaacs/node-tap","homepage":"","size":1551,"stargazers_count":487,"watchers_count":487,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":4,"forks":63,"open_issues":4,"watchers":487,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/isaacs/node-tap/pulls/143"},"html":{"href":"https://github.com/isaacs/node-tap/pull/143"},"issue":{"href":"https://api.github.com/repos/isaacs/node-tap/issues/143"},"comments":{"href":"https://api.github.com/repos/isaacs/node-tap/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/isaacs/node-tap/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/isaacs/node-tap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/isaacs/node-tap/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/isaacs/node-tap/statuses/42f2ff85056a254d846df565d87a1d235d220326"}}}}