Grunt task for running client-side Mocha specs in PhantomJS with reporters


Automatically run client-side mocha specs via grunt/mocha/PhantomJS and get real reporter data.

Forked from because I am addicted to reporters. And because the new dependencies are prolly too much to ask for in a pull request. And because I'm antisocial, probably.

Also, if you don't need the gruntyness, is gonna be more your bag.

  • running against multiple files doesn't clear counts between files
  • timers are all out of whack
  • huge blob of dependency for the JSON.decycle() in the phantom js shim
  • stack traces are not always perfect
  • "0 assertions passed (0s)" printout at end of grunt task