A utility for defining Mocha tasks in your Jakefiles. Supports Unix-like glob patterns.
var mocha = require('./lib/jake-mocha');
mocha.defineTask(
{
name: 'mocha',
files: 'test/**/*.mocha.js',
mochaOptions: {
ui: 'bdd',
reporter: 'spec'
}
}
);
task('default', ['mocha']);