☕️ Classic, reliable, trusted test framework for Node.js and the browser
Add pending tests to test result data. Issue #1050
Tapiwa Kelvin4ac4be4c9e02
diff --git a/lib/reporters/xunit.js b/lib/reporters/xunit.jsindex 1ed5ee93..b61c72ef 100644--- a/lib/reporters/xunit.js+++ b/lib/reporters/xunit.js@@ -36,6 +36,10 @@ function XUnit(runner) {, tests = [], self = this;+ runner.on('pending', function(test){+ tests.push(test);+ });+runner.on('pass', function(test){tests.push(test);});