code: function config(configPath) {
    var configDirName = path.dirname(configPath);
    var configFile = path.resolve(path.join(configDirName, 'coverage.js'));
    var defaultConfig = getDefaultConfig();
  
    if (fs.existsSync(configFile)) {
      var projectConfig = require(configFile);
      return extend({}, defaultConfig, projectConfig);
    }
  
    return defaultConfig;
  }
docs: Get configuration for a project, falling back to default configuration if
  project does not provide a configuration of its own
  @param {String} configPath - The path for the configuration of the project
  @returns {Configuration} configuration to use for project