node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

jake-mocha

jake-mocha

A utility for defining Mocha tasks in your Jakefiles. Supports Unix-like glob patterns.

Usage

var mocha = require('./lib/jake-mocha');
mocha.defineTask(
    {
      name: 'mocha',
      files: 'test/**/*.mocha.js',
      mochaOptions: {
        ui: 'bdd',
        reporter: 'spec'
      }
    }
);
task('default', ['mocha']);