kunagpal/express-boilerplate

View on GitHub
scripts/test/run.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (testDir, done) {
    _.isFunction(testDir) && (done = testDir) && (testDir = process.argv.splice(2)[0]);

    if (!testDir) { return done(new Error('A valid test directory is required')); }

Severity: Minor
Found in scripts/test/run.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status