scripts/test/run.js
Function exports
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
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')); }