From 9c29cdca6317f5b48658e472949415f3a491e4cd Mon Sep 17 00:00:00 2001 From: Fuad Balashov Date: Fri, 2 Jun 2017 11:16:37 -0400 Subject: [PATCH] stop collecting errors --- src/junit_reporter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/junit_reporter.js b/src/junit_reporter.js index ea032ac..651a47a 100644 --- a/src/junit_reporter.js +++ b/src/junit_reporter.js @@ -289,7 +289,7 @@ self.suiteDone(fakeFocusedSuite); } var output = ''; - var testSuitesResults = { disabled: 0, errors: 0, failures: 0, tests: 0, time: 0 }; + var testSuitesResults = { disabled: 0, failures: 0, tests: 0, time: 0 }; for (var i = 0; i < suites.length; i++) { output += self.getOrWriteNestedOutput(suites[i]); // retrieve nested suite data to include in the testsuites tag @@ -315,7 +315,6 @@ self.formatSuiteData = function(suite) { return { disabled: suite._disabled || 0, - errors: 0, failures: suite._failures || 0, tests: suite._specs.length || 0, time: (suite._endTime.getTime() - suite._startTime.getTime()) || 0 @@ -501,7 +500,7 @@ if (self.stylesheetPath) { prefix += '\n'; } - prefix += '\n'; return prefix; }