Enable coverage reporter by default
This commit is contained in:
Родитель
af902d9dc3
Коммит
37decbbef4
|
@ -1,4 +1,5 @@
|
|||
node_modules
|
||||
coverage
|
||||
typings
|
||||
dist
|
||||
tmp
|
|
@ -1,4 +1,5 @@
|
|||
node_modules
|
||||
coverage
|
||||
typings
|
||||
tmp
|
||||
test
|
|
@ -11,7 +11,7 @@ module.exports = function (config) {
|
|||
{ pattern: './tmp/**/*.html', served: true, included: false }
|
||||
],
|
||||
exclude: [],
|
||||
reporters: argv.debug ? ['spec'] : ['spec', 'coverage'],
|
||||
reporters: ['spec', 'coverage'],
|
||||
autoWatch: true,
|
||||
browsers: [argv.debug ? 'Chrome' : 'PhantomJS'],
|
||||
plugins: [
|
||||
|
@ -23,8 +23,7 @@ module.exports = function (config) {
|
|||
'karma-coverage'
|
||||
],
|
||||
preprocessors: {
|
||||
// './dist/**/*.js': ['coverage'],
|
||||
'./tmp/**/*.js': ['sourcemap']
|
||||
'./tmp/**/*.js': ['coverage', 'sourcemap']
|
||||
},
|
||||
coverageReporter: {
|
||||
reporters: [
|
||||
|
|
Загрузка…
Ссылка в новой задаче