diff --git a/app/templates/karma.conf.js b/app/templates/karma.conf.js index 73a3ccdab..b18bc8da3 100644 --- a/app/templates/karma.conf.js +++ b/app/templates/karma.conf.js @@ -38,7 +38,7 @@ module.exports = function(config) { preprocessors: { '**/*.jade': 'ng-jade2js', '**/*.html': 'html2js',<% if(filters.babel) { %> - 'client/app/**/*.js': 'babel',<% } %> + 'client/{app,components}/**/*.js': 'babel',<% } %> '**/*.coffee': 'coffee', },