{"action":"created","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/2335","repository_url":"https://api.github.com/repos/mochajs/mocha","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/2335/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/2335/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/2335/events","html_url":"https://github.com/mochajs/mocha/pull/2335","id":162356934,"number":2335,"title":"allow skip() in async test context; closes #2334","user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T00:42:08Z","updated_at":"2016-06-27T00:42:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mochajs/mocha/pulls/2335","html_url":"https://github.com/mochajs/mocha/pull/2335","diff_url":"https://github.com/mochajs/mocha/pull/2335.diff","patch_url":"https://github.com/mochajs/mocha/pull/2335.patch"},"body":"I can't tell if this is an actual bug fix, regression, or what (because where are the tests for async `skip()` calls?), but it allows this test:\r\n\r\n```js\r\nit('should be skipped async', function (done) {\r\n  const self = this\r\n  setTimeout(function () {\r\n    self.skip()\r\n  }, 1000)\r\n})\r\n```\r\n\r\nTo be successfully marked as \"pending\".\r\n\r\ncc @dasilvacontin @maggiesavovska"},"comment":{"url":"https://api.github.com/repos/mochajs/mocha/issues/comments/228633489","html_url":"https://github.com/mochajs/mocha/pull/2335#issuecomment-228633489","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/2335","id":228633489,"user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T00:42:55Z","updated_at":"2016-06-27T00:42:55Z","body":"Also I'm not sure if my solution to this is smart, terrible, or some combination thereof."}}
{"actor":{"display_login":"boneskull"}}