projects/ngrx.io/tools/examples/run-example-e2e.js
function getE2eSpecsFor(basePath, specFile, filter) {
  // Only get spec file at the example root.
  const e2eSpecGlob = `${filter ? `*${filter}*` : '*'}/${specFile}`;
  return globby(e2eSpecGlob, { cwd: basePath, nodir: true })
    .then(paths => paths
      .filter(file => !IGNORED_EXAMPLES.some(ignored => file.startsWith(ignored)))
      .map(file => path.join(basePath, file))
    );
}
function getE2eSpecsFor(basePath, specFile, filter) {
  // Only get spec file at the example root.
  const e2eSpecGlob = `${filter ? `*${filter}*` : '*'}/${specFile}`;
  return globby(e2eSpecGlob, { cwd: basePath, nodir: true })
    .then(paths => paths
      .filter(file => !IGNORED_EXAMPLES.some(ignored => file.startsWith(ignored)))
      .map(file => path.join(basePath, file))
    );
}
function getE2eSpecsFor ( basePath , specFile , filter ) { // Only get spec file at the example root. const e2eSpecGlob = ` ${ filter ? ` ${ filter } ` : '*' } ${ specFile } ` ; return globby ( e2eSpecGlob , { cwd : basePath , nodir : true } ) . then ( paths => paths . filter ( file => ! IGNORED_EXAMPLES . some ( ignored => file . startsWith ( ignored ) ) ) . map ( file => path . join ( basePath , file ) ) ) ; }
Find all e2e specs in a given example folder.
Find all e2e specs in a given example folder .