{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/addons-validator/pulls/comments/41698913","id":41698913,"diff_hunk":"@@ -103,6 +103,7 @@ describe('Validator', function() {\n   // - install.rdf\n   it('should send JSScanner messages to the collector', () => {\n     var addonValidator = new Validator({_: ['tests/example.xpi']});\n+    addonValidator.print = sinon.stub();","path":"tests/test.validator.js","position":4,"original_position":4,"commit_id":"52f2d5a87b9181d0d4dc631883f21a9b21180d3e","original_commit_id":"52f2d5a87b9181d0d4dc631883f21a9b21180d3e","user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"body":"A comment to explain why we're doing this would be handy for the future. Normally I assume stubbing methods is for testing purposes, but this is really just a flourish so it'd be good to clarify why it's here.","created_at":"2015-10-10T16:44:35Z","updated_at":"2015-10-10T16:44:35Z","html_url":"https://github.com/mozilla/addons-validator/pull/72#discussion_r41698913","pull_request_url":"https://api.github.com/repos/mozilla/addons-validator/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-validator/pulls/comments/41698913"},"html":{"href":"https://github.com/mozilla/addons-validator/pull/72#discussion_r41698913"},"pull_request":{"href":"https://api.github.com/repos/mozilla/addons-validator/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/addons-validator/pulls/72","id":47343740,"html_url":"https://github.com/mozilla/addons-validator/pull/72","diff_url":"https://github.com/mozilla/addons-validator/pull/72.diff","patch_url":"https://github.com/mozilla/addons-validator/pull/72.patch","issue_url":"https://api.github.com/repos/mozilla/addons-validator/issues/72","number":72,"state":"open","locked":false,"title":"Quick fix to silence output (fixes #69)","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"body":"(See #69)\r\n\r\nThis just stubs the code paths that otherwise lead to output.","created_at":"2015-10-10T11:25:40Z","updated_at":"2015-10-10T16:44:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9384f9d52f38ec233ba80e94d154151d3f01edd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/addons-validator/pulls/72/commits","review_comments_url":"https://api.github.com/repos/mozilla/addons-validator/pulls/72/comments","review_comment_url":"https://api.github.com/repos/mozilla/addons-validator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/addons-validator/issues/72/comments","statuses_url":"https://api.github.com/repos/mozilla/addons-validator/statuses/52f2d5a87b9181d0d4dc631883f21a9b21180d3e","head":{"label":"muffinresearch:silence-output","ref":"silence-output","sha":"52f2d5a87b9181d0d4dc631883f21a9b21180d3e","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"repo":{"id":42520293,"name":"addons-validator","full_name":"muffinresearch/addons-validator","owner":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muffinresearch/addons-validator","description":"The amo-validator, JS edition.","fork":true,"url":"https://api.github.com/repos/muffinresearch/addons-validator","forks_url":"https://api.github.com/repos/muffinresearch/addons-validator/forks","keys_url":"https://api.github.com/repos/muffinresearch/addons-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muffinresearch/addons-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muffinresearch/addons-validator/teams","hooks_url":"https://api.github.com/repos/muffinresearch/addons-validator/hooks","issue_events_url":"https://api.github.com/repos/muffinresearch/addons-validator/issues/events{/number}","events_url":"https://api.github.com/repos/muffinresearch/addons-validator/events","assignees_url":"https://api.github.com/repos/muffinresearch/addons-validator/assignees{/user}","branches_url":"https://api.github.com/repos/muffinresearch/addons-validator/branches{/branch}","tags_url":"https://api.github.com/repos/muffinresearch/addons-validator/tags","blobs_url":"https://api.github.com/repos/muffinresearch/addons-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muffinresearch/addons-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muffinresearch/addons-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/muffinresearch/addons-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muffinresearch/addons-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/muffinresearch/addons-validator/languages","stargazers_url":"https://api.github.com/repos/muffinresearch/addons-validator/stargazers","contributors_url":"https://api.github.com/repos/muffinresearch/addons-validator/contributors","subscribers_url":"https://api.github.com/repos/muffinresearch/addons-validator/subscribers","subscription_url":"https://api.github.com/repos/muffinresearch/addons-validator/subscription","commits_url":"https://api.github.com/repos/muffinresearch/addons-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/muffinresearch/addons-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/muffinresearch/addons-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/muffinresearch/addons-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/muffinresearch/addons-validator/contents/{+path}","compare_url":"https://api.github.com/repos/muffinresearch/addons-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muffinresearch/addons-validator/merges","archive_url":"https://api.github.com/repos/muffinresearch/addons-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muffinresearch/addons-validator/downloads","issues_url":"https://api.github.com/repos/muffinresearch/addons-validator/issues{/number}","pulls_url":"https://api.github.com/repos/muffinresearch/addons-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/muffinresearch/addons-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/muffinresearch/addons-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muffinresearch/addons-validator/labels{/name}","releases_url":"https://api.github.com/repos/muffinresearch/addons-validator/releases{/id}","created_at":"2015-09-15T13:14:50Z","updated_at":"2015-09-14T22:18:36Z","pushed_at":"2015-10-10T11:24:10Z","git_url":"git://github.com/muffinresearch/addons-validator.git","ssh_url":"git@github.com:muffinresearch/addons-validator.git","clone_url":"https://github.com/muffinresearch/addons-validator.git","svn_url":"https://github.com/muffinresearch/addons-validator","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"mozilla:master","ref":"master","sha":"14dc39a5a433bdb1a7a6f42bd92bbdd6fdee988f","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":42436885,"name":"addons-validator","full_name":"mozilla/addons-validator","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/addons-validator","description":"The new Firefox Add-ons validator, written in ES6/JavaScript.","fork":false,"url":"https://api.github.com/repos/mozilla/addons-validator","forks_url":"https://api.github.com/repos/mozilla/addons-validator/forks","keys_url":"https://api.github.com/repos/mozilla/addons-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/addons-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/addons-validator/teams","hooks_url":"https://api.github.com/repos/mozilla/addons-validator/hooks","issue_events_url":"https://api.github.com/repos/mozilla/addons-validator/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/addons-validator/events","assignees_url":"https://api.github.com/repos/mozilla/addons-validator/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/addons-validator/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/addons-validator/tags","blobs_url":"https://api.github.com/repos/mozilla/addons-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/addons-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/addons-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/addons-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/addons-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/addons-validator/languages","stargazers_url":"https://api.github.com/repos/mozilla/addons-validator/stargazers","contributors_url":"https://api.github.com/repos/mozilla/addons-validator/contributors","subscribers_url":"https://api.github.com/repos/mozilla/addons-validator/subscribers","subscription_url":"https://api.github.com/repos/mozilla/addons-validator/subscription","commits_url":"https://api.github.com/repos/mozilla/addons-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/addons-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/addons-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/addons-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/addons-validator/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/addons-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/addons-validator/merges","archive_url":"https://api.github.com/repos/mozilla/addons-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/addons-validator/downloads","issues_url":"https://api.github.com/repos/mozilla/addons-validator/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/addons-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/addons-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/addons-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/addons-validator/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/addons-validator/releases{/id}","created_at":"2015-09-14T08:34:44Z","updated_at":"2015-10-09T06:42:00Z","pushed_at":"2015-10-10T16:41:50Z","git_url":"git://github.com/mozilla/addons-validator.git","ssh_url":"git@github.com:mozilla/addons-validator.git","clone_url":"https://github.com/mozilla/addons-validator.git","svn_url":"https://github.com/mozilla/addons-validator","homepage":"","size":700,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":23,"forks":1,"open_issues":23,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-validator/pulls/72"},"html":{"href":"https://github.com/mozilla/addons-validator/pull/72"},"issue":{"href":"https://api.github.com/repos/mozilla/addons-validator/issues/72"},"comments":{"href":"https://api.github.com/repos/mozilla/addons-validator/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/addons-validator/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/addons-validator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/addons-validator/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/addons-validator/statuses/52f2d5a87b9181d0d4dc631883f21a9b21180d3e"}}}}