From 504a497963252326cf9f2cbccb93e9eb8aab6dfa Mon Sep 17 00:00:00 2001 From: Mike Brocchi Date: Sat, 13 Aug 2016 22:53:37 -0400 Subject: [PATCH] fix(init): karma paths reflect sourceDir config (#1686) Fixes #1683 --- addon/ng2/blueprints/ng2/files/config/karma.conf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/ng2/blueprints/ng2/files/config/karma.conf.js b/addon/ng2/blueprints/ng2/files/config/karma.conf.js index 05eb0173085b..e5ab25543993 100644 --- a/addon/ng2/blueprints/ng2/files/config/karma.conf.js +++ b/addon/ng2/blueprints/ng2/files/config/karma.conf.js @@ -19,10 +19,10 @@ module.exports = function (config) { } }, files: [ - { pattern: './src/test.ts', watched: false } + { pattern: './<%= sourceDir %>/test.ts', watched: false } ], preprocessors: { - './src/test.ts': ['angular-cli'] + './<%= sourceDir %>/test.ts': ['angular-cli'] }, remapIstanbulReporter: { reports: {