See #375. Set log level to verbose for running specs on Windows

This commit is contained in:
Glavin Wiechert 2015-06-08 11:24:32 -03:00
parent e471642003
commit d78b3590ca
1 changed files with 8 additions and 2 deletions

View File

@ -47,8 +47,14 @@ describe "BeautifyLanguages", ->
# Force activate package
pack = atom.packages.getLoadedPackage("atom-beautify")
pack.activateNow()
# Change logger level
# atom.config.set('atom-beautify._loggerLevel', 'verbose')
# Check if Windows
isWindows = process.platform is 'win32' or
process.env.OSTYPE is 'cygwin' or
process.env.OSTYPE is 'msys'
# Need more debugging on Windows
if isWindows
# Change logger level
atom.config.set('atom-beautify._loggerLevel', 'verbose')
# Return promise
return activationPromise