jest-junit
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -28,2 +28,3 @@ 'use strict'; | ||
TITLE_VAR: '{title}', | ||
DISPLAY_NAME_VAR: '{displayName}', | ||
}; |
{ | ||
"name": "jest-junit", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"description": "A jest result processor that generates junit xml files", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"pretest:ci": "npm install jest@$JEST_VERSION", | ||
"test:ci": "jest && jest --config ./integration-tests/jest.config.js" | ||
"test:ci": "jest --ci && jest --ci --config ./integration-tests/jest.config.js" | ||
}, | ||
@@ -23,0 +23,0 @@ "dependencies": { |
@@ -51,2 +51,3 @@ 'use strict'; | ||
const suiteTitle = suite.testResults[0].ancestorTitles[0]; | ||
const displayName = suite.displayName; | ||
@@ -58,2 +59,3 @@ // Build replacement map | ||
suiteReplacementMap[constants.TITLE_VAR] = suiteTitle; | ||
suiteReplacementMap[constants.DISPLAY_NAME_VAR] = displayName; | ||
@@ -94,2 +96,3 @@ // Add <testsuite /> properties | ||
testReplacementMap[constants.TITLE_VAR] = testTitle; | ||
testReplacementMap[constants.DISPLAY_NAME_VAR] = displayName; | ||
@@ -96,0 +99,0 @@ let testCase = { |
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
23919
203