okunishinishi/node-handybower

View on GitHub
ci/cover.js

Summary

Maintainability
A
0 mins
Test Coverage
#!/usr/bin/env node

/**
 * Measure coverage.
 */

"use strict";

process.chdir(__dirname + '/..');

var apeTasking = require('ape-tasking'),
    apeCovering = require('ape-covering');

apeTasking.runTasks('cover', [
    function (callback) {
        apeCovering.measureCoverage(
            require.resolve('./test.js'), [], {
                dir: 'coverage'
            }, callback
        );
    }
], true);