{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/comments/78660939","id":78660939,"diff_hunk":"@@ -0,0 +1,101 @@\n+/**\n+ * Copyright 2016 Google Inc. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+var EventEmitter = require('events').EventEmitter;\n+var test = require('tape');\n+var restifyInterface = require('../../lib/interfaces/restify.js');\n+var UNCAUGHT_EVENT = 'uncaughtException';\n+\n+function createStubEmitter () {","path":"tests/unit/testRestifyInterface.js","position":22,"original_position":22,"commit_id":"fdd2c8d312da0b5ed08df90380dd986afd036f1a","original_commit_id":"fdd2c8d312da0b5ed08df90380dd986afd036f1a","user":{"login":"matthewloring","id":1485909,"avatar_url":"https://avatars.githubusercontent.com/u/1485909?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewloring","html_url":"https://github.com/matthewloring","followers_url":"https://api.github.com/users/matthewloring/followers","following_url":"https://api.github.com/users/matthewloring/following{/other_user}","gists_url":"https://api.github.com/users/matthewloring/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewloring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewloring/subscriptions","organizations_url":"https://api.github.com/users/matthewloring/orgs","repos_url":"https://api.github.com/users/matthewloring/repos","events_url":"https://api.github.com/users/matthewloring/events{/privacy}","received_events_url":"https://api.github.com/users/matthewloring/received_events","type":"User","site_admin":false},"body":"This seems unused.","created_at":"2016-09-13T23:03:59Z","updated_at":"2016-09-13T23:03:59Z","html_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs/pull/58#discussion_r78660939","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/comments/78660939"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs/pull/58#discussion_r78660939"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58","id":85135088,"html_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs/pull/58","diff_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs/pull/58.diff","patch_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs/pull/58.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues/58","number":58,"state":"open","locked":false,"title":"Add tests for restify interface","user":{"login":"cristiancavalli","id":4976075,"avatar_url":"https://avatars.githubusercontent.com/u/4976075?v=3","gravatar_id":"","url":"https://api.github.com/users/cristiancavalli","html_url":"https://github.com/cristiancavalli","followers_url":"https://api.github.com/users/cristiancavalli/followers","following_url":"https://api.github.com/users/cristiancavalli/following{/other_user}","gists_url":"https://api.github.com/users/cristiancavalli/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiancavalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiancavalli/subscriptions","organizations_url":"https://api.github.com/users/cristiancavalli/orgs","repos_url":"https://api.github.com/users/cristiancavalli/repos","events_url":"https://api.github.com/users/cristiancavalli/events{/privacy}","received_events_url":"https://api.github.com/users/cristiancavalli/received_events","type":"User","site_admin":false},"body":"Add unit tests for the restify interface and maintain\r\ncoverage at 100%.","created_at":"2016-09-13T22:12:15Z","updated_at":"2016-09-13T23:03:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d9997050219bce160a37639387e39860c174bfa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues/58/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/statuses/fdd2c8d312da0b5ed08df90380dd986afd036f1a","head":{"label":"cristiancavalli:dev-feature/unit-test/restify-interface","ref":"dev-feature/unit-test/restify-interface","sha":"fdd2c8d312da0b5ed08df90380dd986afd036f1a","user":{"login":"cristiancavalli","id":4976075,"avatar_url":"https://avatars.githubusercontent.com/u/4976075?v=3","gravatar_id":"","url":"https://api.github.com/users/cristiancavalli","html_url":"https://github.com/cristiancavalli","followers_url":"https://api.github.com/users/cristiancavalli/followers","following_url":"https://api.github.com/users/cristiancavalli/following{/other_user}","gists_url":"https://api.github.com/users/cristiancavalli/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiancavalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiancavalli/subscriptions","organizations_url":"https://api.github.com/users/cristiancavalli/orgs","repos_url":"https://api.github.com/users/cristiancavalli/repos","events_url":"https://api.github.com/users/cristiancavalli/events{/privacy}","received_events_url":"https://api.github.com/users/cristiancavalli/received_events","type":"User","site_admin":false},"repo":{"id":63174673,"name":"cloud-errors-nodejs","full_name":"cristiancavalli/cloud-errors-nodejs","owner":{"login":"cristiancavalli","id":4976075,"avatar_url":"https://avatars.githubusercontent.com/u/4976075?v=3","gravatar_id":"","url":"https://api.github.com/users/cristiancavalli","html_url":"https://github.com/cristiancavalli","followers_url":"https://api.github.com/users/cristiancavalli/followers","following_url":"https://api.github.com/users/cristiancavalli/following{/other_user}","gists_url":"https://api.github.com/users/cristiancavalli/gists{/gist_id}","starred_url":"https://api.github.com/users/cristiancavalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristiancavalli/subscriptions","organizations_url":"https://api.github.com/users/cristiancavalli/orgs","repos_url":"https://api.github.com/users/cristiancavalli/repos","events_url":"https://api.github.com/users/cristiancavalli/events{/privacy}","received_events_url":"https://api.github.com/users/cristiancavalli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cristiancavalli/cloud-errors-nodejs","description":null,"fork":true,"url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs","forks_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/forks","keys_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/teams","hooks_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/hooks","issue_events_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/events","assignees_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/tags","blobs_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/languages","stargazers_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/stargazers","contributors_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/contributors","subscribers_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/subscribers","subscription_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/subscription","commits_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/merges","archive_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/downloads","issues_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/releases{/id}","deployments_url":"https://api.github.com/repos/cristiancavalli/cloud-errors-nodejs/deployments","created_at":"2016-07-12T16:33:47Z","updated_at":"2016-07-12T16:33:48Z","pushed_at":"2016-09-13T22:07:40Z","git_url":"git://github.com/cristiancavalli/cloud-errors-nodejs.git","ssh_url":"git@github.com:cristiancavalli/cloud-errors-nodejs.git","clone_url":"https://github.com/cristiancavalli/cloud-errors-nodejs.git","svn_url":"https://github.com/cristiancavalli/cloud-errors-nodejs","homepage":null,"size":269,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"be4b47b385ec45701b55180a6d003b73d43ef89f","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":63088322,"name":"cloud-errors-nodejs","full_name":"GoogleCloudPlatform/cloud-errors-nodejs","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs","description":"Node.js module for Google Stackdriver Error Reporting","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/deployments","created_at":"2016-07-11T17:32:41Z","updated_at":"2016-08-25T22:03:46Z","pushed_at":"2016-09-13T22:12:15Z","git_url":"git://github.com/GoogleCloudPlatform/cloud-errors-nodejs.git","ssh_url":"git@github.com:GoogleCloudPlatform/cloud-errors-nodejs.git","clone_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs.git","svn_url":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs","homepage":"https://cloud.google.com/error-reporting","size":280,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-errors-nodejs/pull/58"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues/58"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-errors-nodejs/statuses/fdd2c8d312da0b5ed08df90380dd986afd036f1a"}}}}
{"actor":{"display_login":"matthewloring"}}