mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
🔥 console.logs
This commit is contained in:
@@ -9,11 +9,7 @@ module.exports = ({logFile, headless, testPaths, buildAtomEnvironment}) ->
|
||||
|
||||
if process.env.TEST_JUNIT_XML_PATH
|
||||
require 'jasmine-reporters'
|
||||
console.log "Producing JUnit XML output at #{process.env.TEST_JUNIT_XML_PATH}."
|
||||
jasmine.getEnv().addReporter new jasmine.JUnitXmlReporter(process.env.TEST_JUNIT_XML_PATH, true, true)
|
||||
else
|
||||
console.log "TEST_JUNIT_XML_PATH was falsy"
|
||||
console.log require('util').inspect process.env
|
||||
|
||||
# Allow document.title to be assigned in specs without screwing up spec window title
|
||||
documentTitle = null
|
||||
|
||||
@@ -12,7 +12,6 @@ export default function (testPaths) {
|
||||
}
|
||||
|
||||
if (process.env.TEST_JUNIT_XML_PATH) {
|
||||
console.log(`Mocha: Producing JUnit XML output at ${process.env.TEST_JUNIT_XML_PATH}.`)
|
||||
reporterOptions = {
|
||||
reporterEnabled: 'list, mocha-junit-reporter',
|
||||
mochaJunitReporterReporterOptions: {
|
||||
|
||||
Reference in New Issue
Block a user