{"action":"created","issue":{"url":"https://api.github.com/repos/kmiyashiro/grunt-mocha/issues/163","repository_url":"https://api.github.com/repos/kmiyashiro/grunt-mocha","labels_url":"https://api.github.com/repos/kmiyashiro/grunt-mocha/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/kmiyashiro/grunt-mocha/issues/163/comments","events_url":"https://api.github.com/repos/kmiyashiro/grunt-mocha/issues/163/events","html_url":"https://github.com/kmiyashiro/grunt-mocha/issues/163","id":156685281,"number":163,"title":"mocha > 2.4.5 fails with reporter xunit","user":{"login":"fry2k","id":5708253,"avatar_url":"https://avatars.githubusercontent.com/u/5708253?v=3","gravatar_id":"","url":"https://api.github.com/users/fry2k","html_url":"https://github.com/fry2k","followers_url":"https://api.github.com/users/fry2k/followers","following_url":"https://api.github.com/users/fry2k/following{/other_user}","gists_url":"https://api.github.com/users/fry2k/gists{/gist_id}","starred_url":"https://api.github.com/users/fry2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fry2k/subscriptions","organizations_url":"https://api.github.com/users/fry2k/orgs","repos_url":"https://api.github.com/users/fry2k/repos","events_url":"https://api.github.com/users/fry2k/events{/privacy}","received_events_url":"https://api.github.com/users/fry2k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-25T07:53:58Z","updated_at":"2016-06-10T21:07:47Z","closed_at":null,"body":"Hello,\r\n\r\nwith the new release of mocha greater than 2.4.5 (current 2.5.2) my mocha task with reporter XUnit for jenkins doesn't work any more.\r\n\r\nIt fails cause of https://github.com/mochajs/mocha/commit/d4f7905dbb9d4cc65cca02373b99e5549fa7ce2a \r\nThe Mocha XUnit Reporter https://github.com/mochajs/mocha/blob/master/lib/reporters/xunit.js was changed to get pending tests with test.isPending() instead of test.pending in the past.\r\n\r\nFor me it is not clear how I can manipulate the test object which is the parameter of \r\n`runner.on('pass', function(test) {})`\r\nMaybe someone can help me fixing this issue.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kmiyashiro/grunt-mocha/issues/comments/225296072","html_url":"https://github.com/kmiyashiro/grunt-mocha/issues/163#issuecomment-225296072","issue_url":"https://api.github.com/repos/kmiyashiro/grunt-mocha/issues/163","id":225296072,"user":{"login":"matthewriley","id":338825,"avatar_url":"https://avatars.githubusercontent.com/u/338825?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewriley","html_url":"https://github.com/matthewriley","followers_url":"https://api.github.com/users/matthewriley/followers","following_url":"https://api.github.com/users/matthewriley/following{/other_user}","gists_url":"https://api.github.com/users/matthewriley/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewriley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewriley/subscriptions","organizations_url":"https://api.github.com/users/matthewriley/orgs","repos_url":"https://api.github.com/users/matthewriley/repos","events_url":"https://api.github.com/users/matthewriley/events{/privacy}","received_events_url":"https://api.github.com/users/matthewriley/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T21:07:47Z","updated_at":"2016-06-10T21:07:47Z","body":"I’m seeing the same issue with XUnit failing due to isPending(). I originally reported it with mochajs (see referenced issue above), but it appears to originate with grunt-mocha.\r\n\r\nI have some sample code that recreates this issue.\r\n\r\nMocha XUnit Reporter Sample\r\nhttps://github.com/matthewriley/mocha-xunit-reporter-sample\r\n"}}
{"actor":{"display_login":"matthewriley"}}