jake-mocha

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i jake-mocha

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • jcottr