jest-junit
Advanced tools
Comparing version 14.0.1 to 15.0.0
{ | ||
"name": "jest-junit", | ||
"version": "14.0.1", | ||
"version": "15.0.0", | ||
"description": "A jest reporter that generates junit xml files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -77,3 +77,3 @@ 'use strict'; | ||
testCase.testcase.push({ | ||
[tagName]: stripAnsi(failure) | ||
[tagName]: strip(failure) | ||
}); | ||
@@ -106,2 +106,7 @@ }) | ||
// Strips escape codes for readability and illegal XML characters to produce valid output. | ||
const strip = function (str) { | ||
return stripAnsi(str).replace(/\u001b/g, ''); | ||
} | ||
module.exports = function (report, appDirectory, options, rootDir = null) { | ||
@@ -108,0 +113,0 @@ // Check if there is a junitProperties.js (or whatever they called it) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38809
459