Skip to content

Commit

Permalink
added process.reallyExit() call at end of junit reporter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Bravo authored and Caolan McMahon committed Feb 2, 2011
1 parent cdcfccc commit 0d61cca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/reporters/junit.js
Expand Up @@ -173,6 +173,9 @@ exports.run = function (files, opts, callback) {
' assertions (' + assertions.duration + 'ms)'
);
}
setTimeout(function () {
process.reallyExit(assertions.failures());
}, 10);
});

});
Expand Down

0 comments on commit 0d61cca

Please sign in to comment.