lib/index.js
function parseArgs(obj) {
  var args = [];
  _.each(obj, function (val, key) {
    if (_.isArray(val)) {
      _.each(val, function (val) {
        addArg(args, key, val);
      });
    } else {
      addArg(args, key, val);
    }
  });
  return args;
}
function parseArgs(obj) {
  var args = [];
  _.each(obj, function (val, key) {
    if (_.isArray(val)) {
      _.each(val, function (val) {
        addArg(args, key, val);
      });
    } else {
      addArg(args, key, val);
    }
  });
  return args;
}
function parseArgs ( obj ) { var args = [ ] ; _ . each ( obj , function ( val , key ) { if ( _ . isArray ( val ) ) { _ . each ( val , function ( val ) { addArg ( args , key , val ) ; } ) ; } else { addArg ( args , key , val ) ; } } ) ; return args ; }
Parses the arugments from a configuration object for passing to a mocha
executable.
@param  {Object} obj The object to parse from.
@return {Array}      An array of parsed arguments.
Parses the arugments from a configuration object for passing to a mocha executable .