Remove intermediate directory and TEST- prefix

This commit is contained in:
Ash Wilson 2019-02-11 10:13:10 -05:00
parent 65661ba8a3
commit f4f3d12719
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A

View File

@ -69,7 +69,7 @@ function prepareEnv (suiteName) {
// Tell Jasmine to output this suite's results as a JUnit XML file to a subdirectory of the root, so that a
// CI system can interpret it.
const runPrefix = process.env.TEST_JUNIT_XML_RUN || ''
const outputPath = path.join(process.env.TEST_JUNIT_XML_ROOT, suiteName, `TEST-${runPrefix}${suiteName}.xml`)
const outputPath = path.join(process.env.TEST_JUNIT_XML_ROOT, `${runPrefix}${suiteName}.xml`)
env.TEST_JUNIT_XML_PATH = outputPath
}