Commit 387d22ea authored by Evren Kutar's avatar Evren Kutar

code coverage lib karma-coverage added

parent 67d63df2
...@@ -19,6 +19,15 @@ module.exports = function (config) { ...@@ -19,6 +19,15 @@ module.exports = function (config) {
'app/dashboard/*.js' 'app/dashboard/*.js'
], ],
preprocessors: {
//'app/app.js': 'coverage',
'app/components/**/*.js': 'coverage',
'app/login/*.js': 'coverage',
'app/dashboard/*.js': 'coverage'
},
reporters: ['coverage'],
autoWatch: true, autoWatch: true,
frameworks: ['jasmine'], frameworks: ['jasmine'],
...@@ -29,7 +38,8 @@ module.exports = function (config) { ...@@ -29,7 +38,8 @@ module.exports = function (config) {
'karma-chrome-launcher', 'karma-chrome-launcher',
'karma-firefox-launcher', 'karma-firefox-launcher',
'karma-jasmine', 'karma-jasmine',
'karma-junit-reporter' 'karma-junit-reporter',
'karma-coverage'
], ],
junitReporter: { junitReporter: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment