Fix test run/coverage for document list

This commit is contained in:
Denys Vuika
2016-05-31 12:41:12 +01:00
parent 30ec75fb0b
commit c0dc2645bb
2 changed files with 5 additions and 11 deletions

View File

@@ -59,12 +59,11 @@ module.exports = function (config) {
'karma-jasmine',
'karma-coverage',
'karma-chrome-launcher',
'karma-mocha-reporter',
'karma-jasmine-html-reporter'
'karma-mocha-reporter'
],
// Coverage reporter generates the coverage
reporters: ['mocha', 'coverage', 'kjhtml'],
reporters: ['mocha', 'coverage'],
// Source files that you wanna generate coverage for.
// Do not include tests or libraries (these files will be instrumented by Istanbul)
@@ -73,13 +72,8 @@ module.exports = function (config) {
},
coverageReporter: {
dir: 'coverage/',
subdir: 'report',
reporters: [
{type: 'text'},
{type: 'text-summary'},
{type: 'json', subdir: '.', file: 'coverage-final.json'},
{type: 'html'}
{type: 'json', subdir: '.', file: 'coverage-final.json'}
]
},