{"action":"created","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/2026","repository_url":"https://api.github.com/repos/mochajs/mocha","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/2026/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/2026/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/2026/events","html_url":"https://github.com/mochajs/mocha/issues/2026","id":123983735,"number":2026,"title":"Add a description with the reason why a test is pending.","user":{"login":"basharov","id":625090,"avatar_url":"https://avatars.githubusercontent.com/u/625090?v=3","gravatar_id":"","url":"https://api.github.com/users/basharov","html_url":"https://github.com/basharov","followers_url":"https://api.github.com/users/basharov/followers","following_url":"https://api.github.com/users/basharov/following{/other_user}","gists_url":"https://api.github.com/users/basharov/gists{/gist_id}","starred_url":"https://api.github.com/users/basharov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basharov/subscriptions","organizations_url":"https://api.github.com/users/basharov/orgs","repos_url":"https://api.github.com/users/basharov/repos","events_url":"https://api.github.com/users/basharov/events{/privacy}","received_events_url":"https://api.github.com/users/basharov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-12-27T15:37:30Z","updated_at":"2017-01-23T12:14:42Z","closed_at":null,"body":"I can add pending reason in Jasmine tests with `.pend()` method and replacing `it()` with `xit()` like this:\n\n```\nxit('should save settings when proper object is passed', function(){}).pend('No local storage is supported yet');\n```\n\nCan I somehow add a pending reason message for Mocha tests?\n"},"comment":{"url":"https://api.github.com/repos/mochajs/mocha/issues/comments/274473720","html_url":"https://github.com/mochajs/mocha/issues/2026#issuecomment-274473720","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/2026","id":274473720,"user":{"login":"tommy-p","id":16445718,"avatar_url":"https://avatars.githubusercontent.com/u/16445718?v=3","gravatar_id":"","url":"https://api.github.com/users/tommy-p","html_url":"https://github.com/tommy-p","followers_url":"https://api.github.com/users/tommy-p/followers","following_url":"https://api.github.com/users/tommy-p/following{/other_user}","gists_url":"https://api.github.com/users/tommy-p/gists{/gist_id}","starred_url":"https://api.github.com/users/tommy-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommy-p/subscriptions","organizations_url":"https://api.github.com/users/tommy-p/orgs","repos_url":"https://api.github.com/users/tommy-p/repos","events_url":"https://api.github.com/users/tommy-p/events{/privacy}","received_events_url":"https://api.github.com/users/tommy-p/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T12:14:42Z","updated_at":"2017-01-23T12:14:42Z","body":"This feature is pretty useful, is is not a good idea to mix test description and reason why test is pending. pend() method allows to distinguish pend reason from description. And instead of meaningless reason \"No reason given\" in jasmine you can add more info, issue number, etc."}}
{"actor":{"display_login":"tommy-p"}}