@casualbot/jest-sonar-reporter
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -77,2 +77,3 @@ "use strict"; | ||
'errors': 0, | ||
'skipped': 0, | ||
'time': executionTime(report.startTime, Date.now()) | ||
@@ -124,2 +125,3 @@ } | ||
jsonResults.testsuites[0]._attr.failures += suite.numFailingTests; | ||
jsonResults.testsuites[0]._attr.skipped += suite.numPendingTests; | ||
jsonResults.testsuites[0]._attr.errors += suiteErrors; | ||
@@ -126,0 +128,0 @@ jsonResults.testsuites[0]._attr.tests += suiteNumTests; |
@@ -17,4 +17,7 @@ "use strict"; | ||
} | ||
else if (testResult.status === 'pending') { | ||
return { testCase: [aTestCase].concat({ skipped: {} }) }; | ||
} | ||
return { testCase: aTestCase }; | ||
}; | ||
exports.testCase = testCase; |
{ | ||
"name": "@casualbot/jest-sonar-reporter", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "A Sonar test reporter for Jest.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
37938
669
0