Skip to content

Commit 4eff504

Browse files
committed
fix(init): karma paths reflect sourceDir config
Fixes angular#1683
1 parent 67098e0 commit 4eff504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon/ng2/blueprints/ng2/files/config/karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ module.exports = function (config) {
1919
}
2020
},
2121
files: [
22-
{ pattern: './src/test.ts', watched: false }
22+
{ pattern: './<%= sourceDir %>/test.ts', watched: false }
2323
],
2424
preprocessors: {
25-
'./src/test.ts': ['angular-cli']
25+
'./<%= sourceDir %>/test.ts': ['angular-cli']
2626
},
2727
remapIstanbulReporter: {
2828
reports: {

0 commit comments

Comments
 (0)