This commit is contained in:
kamontat 2017-07-15 21:53:53 +07:00
parent abaf1e76e1
commit b04ada662f
1 changed files with 3 additions and 0 deletions

View File

@ -188,6 +188,9 @@ describe "BeautifyLanguages", ->
beautifyCompleted = false beautifyCompleted = false
completionFun = (text) -> completionFun = (text) ->
try try
logger.verbose(expectedTestPath, text)
logger.verbose(expectedTestPath, text.message)
logger.verbose(expectedTestPath, text.toString())
expect(text instanceof Error).not.toEqual(true, text.message or text.toString()) expect(text instanceof Error).not.toEqual(true, text.message or text.toString())
return beautifyCompleted = true if text instanceof Error return beautifyCompleted = true if text instanceof Error
# logger.verbose(expectedTestPath, text) if ext is ".less" # logger.verbose(expectedTestPath, text) if ext is ".less"