baio
baio

Reputation: 1172

Web Storm 7.0.3 doesn't show log for mocha

I use web-storm 7.0.3 and integrated mocha tests. I have wired problem, console.log() shows only first line (in web-storm output window), all consequent logs are not displayed. When I run mocha from console, I could see all log info as expected. What could be problem?

Thanks.

Upvotes: 0

Views: 197

Answers (2)

baio
baio

Reputation: 1172

this could possible work (for sync tests)

after (next) ->
  #give chance to log output
  setTimeout next, 200

Upvotes: 0

lena
lena

Reputation: 93848

Most likely this is the known Node issue: https://github.com/joyent/node/issues/1669 See also mocha + webstorm - error message broken

Upvotes: 1

Related Questions