diff --git a/public/_includes/_util-fns.jade b/public/_includes/_util-fns.jade index b46a6c8c06..ac4f76d92f 100644 --- a/public/_includes/_util-fns.jade +++ b/public/_includes/_util-fns.jade @@ -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.