Show verbose logs when testing

This commit is contained in:
Glavin Wiechert 2017-06-11 15:37:22 -03:00
parent 4203fb72da
commit 200f53ea38
4 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ describe "Atom-Beautify", ->
pack = atom.packages.getLoadedPackage("atom-beautify")
pack.activateNow()
# Change logger level
# atom.config.set('atom-beautify._loggerLevel', 'verbose')
atom.config.set('atom-beautify.general.loggerLevel', 'verbose')
# Return promise
return activationPromise

View File

@ -24,7 +24,7 @@ describe "PHP-CS-Fixer Beautifier", ->
pack = atom.packages.getLoadedPackage("atom-beautify")
pack.activateNow()
# Change logger level
# atom.config.set('atom-beautify._loggerLevel', 'verbose')
atom.config.set('atom-beautify.general.loggerLevel', 'verbose')
# Return promise
return activationPromise

View File

@ -62,7 +62,7 @@ describe "BeautifyLanguages", ->
pack.activateNow()
# Need more debugging on Windows
# Change logger level
atom.config.set('atom-beautify.general.loggerLevel', 'info')
atom.config.set('atom-beautify.general.loggerLevel', 'verbose')
# Return promise
return activationPromise

View File

@ -404,8 +404,8 @@ class HybridExecutable extends Executable
.then(=> @runImage(@versionArgs, @versionRunOptions))
.then((text) => @saveVersion(text))
.then(=> @)
.catch((error) =>
@debug(error)
.catch((dockerError) =>
@debug(dockerError)
Promise.reject(error)
)
)