function filterSpecs (affectedSpecs, match) {
  const re = new RegExp(match);
  return affectedSpecs.filter(specFile => {
    const fileName = specFile.split(/spec\//)[1];
    return re.test(fileName);
  });
}
/*.spec.js',
  dashboard_specs: './lib/assets/test/spec/dashboard/*