Victorystick / gobble-mocha

Test your code with a Mocha observer for Gobble

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gobble-mocha

EXPERIMENTAL! Beware; there be dragons!

Installation

npm install --save-dev gobble-mocha

Example

var src = gobble( 'src' );

var unitTests = gobble([
  src.moveTo( 'src' ),
  gobble( 'unit-tests' ).moveTo( 'tests' )
])
  .observe( 'mocha' );

// build the app
var app = src
  .transform( 'rollup', {
    entry: 'app.js',
    format: 'iife'
  });


module.exports = gobble([ unitTests, app ]);

About

Test your code with a Mocha observer for Gobble


Languages

Language:JavaScript 100.0%