Forked version of grunt-simple-mocha.
Grunt really doesn't like running after uncaughtException
s.
But Mocha really likes letting uncaughtException
s run free.
// package.json
"grunt-simple-mocha": "~0.x.x"
// -- to --
"grunt-mocha-hack": "~0.1.0"
// grunt.js or Gruntfile.js
simplemocha: {
// ...
}
// -- to --
'mocha-hack': {
// ...
}
grunt.loadNpmTasks('grunt-simple-mocha');
// -- to --
grunt.loadNpmTasks('grunt-mocha-hack');
If you're running tests that should actually be in a browser engine, try: grunt-mocha.
Seriously, though, this project should be dissolved once this shit lands in earnest. (node v0.9.5 looks like the first version with that commit.)