I try to use mocha with webstorm test runner on win 7.
I have these config params:
path to node:
C:\\Program Files (x86)\\nodejs\\no
Even after implementing Mrchief's answer, I am still getting scrambled reports in the output. I ended up running tests in the terminal window. As a reference;
Make sure mocha is installed globally.
npm install -g mocha
Open the terminal window (Alt-Minus) and change to the directory where your test scripts are
Run mocha
mocha -R spec *.js