From b1419f48ba093db307d4063445960ae4c9479ad8 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Mon, 13 Jun 2016 16:38:18 +0200 Subject: [PATCH] chore: fix regions for e2e specs closes #1657 --- public/_includes/_util-fns.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.