UNPKG

@northbrook/mocha

Version:

Mocha Configuration for Northbrook

11 lines 742 B
"use strict"; var northbrook_1 = require("northbrook"); var handler_1 = require("./handler"); var requireDescription = northbrook_1.description('Require hooks for Mocha'); var requireFlag = northbrook_1.flag('string', northbrook_1.alias('require', 'r'), requireDescription); var changedDescription = northbrook_1.description('Run tests in only recently changed packages'); var changedFlag = northbrook_1.flag('boolean', northbrook_1.alias('changed'), changedDescription); var mochaDescription = northbrook_1.description('Run package test files with Mocha'); exports.plugin = northbrook_1.command(northbrook_1.alias('mocha'), mochaDescription, requireFlag, changedFlag); handler_1.addHandler(exports.plugin); //# sourceMappingURL=plugin.js.map