Antyfive/teo.js

View on GitHub
tasks/testCov.js

Summary

Maintainability
A
0 mins
Test Coverage
/*!
 * Test coverage task
 * @author Andrew Teologov <teologov.and@gmail.com>
 * @date 12/10/15
 */

"use strict";

const shell = require("gulp-shell");

module.exports = function(options) {
    return shell.task(["istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports --require ./test/specs/common.js --recursive ./test/specs --bail"]);
};