See #375. Set log level to verbose for running specs on Windows
This commit is contained in:
parent
e471642003
commit
d78b3590ca
|
@ -47,8 +47,14 @@ describe "BeautifyLanguages", ->
|
||||||
# Force activate package
|
# Force activate package
|
||||||
pack = atom.packages.getLoadedPackage("atom-beautify")
|
pack = atom.packages.getLoadedPackage("atom-beautify")
|
||||||
pack.activateNow()
|
pack.activateNow()
|
||||||
# Change logger level
|
# Check if Windows
|
||||||
# atom.config.set('atom-beautify._loggerLevel', 'verbose')
|
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 promise
|
||||||
return activationPromise
|
return activationPromise
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue