A mocha test reporter that turns a blink(1) red or green depending on test status. It uses node-blink to do that.
npm install -g blink-reporter
# cd into you project
mocha -R blink-reporter
It's especially fun if you like fullscreen editing (like I do) and have tests
run continuously. One option for that is watch
. If you use Linux, you probably
already have watch
. If you're on a Mac, you can
brew install watch
with Homebrew
and run
watch mocha -R blink-reporter