chore: fix regions for e2e specs

closes #1657
This commit is contained in:
Foxandxss 2016-06-13 16:38:18 +02:00 committed by Ward Bell
parent cba1e1f74b
commit b1419f48ba
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ script.
//- Returns truthy iff path is example project relative.
- var isProjRelDir = function(path) {
- return !path.match(/\/(js|ts|dart)(-snippets)?\//) && !path.endsWith('e2e-spec.js');
- return !path.match(/\/(js|ts|dart)(-snippets)?\//) && !path.endsWith('e2e-spec.ts');
- // Last conjunct handles case for shared project e2e test file like
- // cb-component-communication/e2e-spec.js (is shared between ts & dart)
- // TODO: generalize: compare start with getExampleName(); which needs to be fixed.