Skip to content

Commit

Permalink
fix(init): karma paths reflect sourceDir config (#1686)
Browse files Browse the repository at this point in the history
Fixes #1683
  • Loading branch information
Brocco authored and filipesilva committed Aug 14, 2016
1 parent 67098e0 commit 504a497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/ng2/blueprints/ng2/files/config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 504a497

Please sign in to comment.