Skip to content

Commit 504a497

Browse files
Broccofilipesilva
authored andcommitted
fix(init): karma paths reflect sourceDir config (#1686)
Fixes #1683
1 parent 67098e0 commit 504a497

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

+2-2
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)