code: 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))
      );
  }
docs: Find all e2e specs in a given example folder.