Skip to content

mongolab/jake-mocha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']);