{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2234","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2234/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2234/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2234/events","html_url":"https://github.com/nuxt/nuxt.js/pull/2234","id":276699312,"node_id":"MDExOlB1bGxSZXF1ZXN0MTU0NjA4MTE1","number":2234,"title":"Intercept console output in tests","user":{"login":"pimlie","id":1067403,"node_id":"MDQ6VXNlcjEwNjc0MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1067403?v=4","gravatar_id":"","url":"https://api.github.com/users/pimlie","html_url":"https://github.com/pimlie","followers_url":"https://api.github.com/users/pimlie/followers","following_url":"https://api.github.com/users/pimlie/following{/other_user}","gists_url":"https://api.github.com/users/pimlie/gists{/gist_id}","starred_url":"https://api.github.com/users/pimlie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimlie/subscriptions","organizations_url":"https://api.github.com/users/pimlie/orgs","repos_url":"https://api.github.com/users/pimlie/repos","events_url":"https://api.github.com/users/pimlie/events{/privacy}","received_events_url":"https://api.github.com/users/pimlie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-11-24T21:12:38Z","updated_at":"2018-10-31T18:39:56Z","closed_at":"2017-12-12T16:36:59Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nuxt/nuxt.js/pulls/2234","html_url":"https://github.com/nuxt/nuxt.js/pull/2234","diff_url":"https://github.com/nuxt/nuxt.js/pull/2234.diff","patch_url":"https://github.com/nuxt/nuxt.js/pull/2234.patch"},"body":"Not sure if you will like this so first a proof-of-concept before I change the other tests as well.\r\n\r\nAlthough the tests are not the most important stuff to work on, I was a bit annoyed by the sheer amount of output that floods the screen when running the tests. And imho all that output is just not necessary, if you run a test you need to know if it succeeded or not and only when it didnt you dig in. Eg do we really need to output the build info with asset list _every_ time?\r\n\r\nThis PR adds a console helper which can be used to easily intercept (most?) console statement made in the code that is tested. It uses `sinon` as a spy so you can also easily check what console statements were called. See the code for an explanation by example."},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/434801674","html_url":"https://github.com/nuxt/nuxt.js/pull/2234#issuecomment-434801674","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2234","id":434801674,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDgwMTY3NA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-31T18:39:56Z","updated_at":"2018-10-31T18:39:56Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}