node package manager
Stop wasting time. Easily manage code sharing in your team. 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('jake-mocha');
mocha.defineTask(
        {
            name: 'mocha',
            files: 'test/**/*.mocha.js',
            mochaOptions: {
                ui: 'bdd',
                reporter: 'spec'
            }
        }
);