mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
If TEST_JUNIT_XML_PATH is set, output JUnit XML format test results
This commit is contained in:
@@ -7,6 +7,10 @@ module.exports = ({logFile, headless, testPaths, buildAtomEnvironment}) ->
|
||||
window[key] = value for key, value of require '../vendor/jasmine'
|
||||
require 'jasmine-tagged'
|
||||
|
||||
if process.env.TEST_JUNIT_XML_PATH
|
||||
require 'jasmine-reporters'
|
||||
jasmine.getEnv().addReporter new jasmine.JUnitXmlReporter(process.env.TEST_JUNIT_XML_PATH, true, true)
|
||||
|
||||
# Allow document.title to be assigned in specs without screwing up spec window title
|
||||
documentTitle = null
|
||||
Object.defineProperty document, 'title',
|
||||
|
||||
Reference in New Issue
Block a user