Skip to content
Snippets Groups Projects
Commit c367ddde authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

add all types of coverage

parent 96bc6173
No related branches found
No related tags found
No related merge requests found
......@@ -70,3 +70,5 @@ dist/
styleguide/
flow-typed/
coverage/
......@@ -28,13 +28,25 @@ module.exports = function (config) {
},
reporters: [
'mocha',
'progress',
'coverage'
],
// optionally, configure the reporter
coverageReporter: {
type : 'text',
//dir : 'coverage/'
// specify a common output directory
dir: './coverage',
reporters: [
// reporters not supporting the `file` property
{ type: 'html', subdir: 'report-html' },
{ type: 'lcov', subdir: 'report-lcov' },
// reporters supporting the `file` property, use `subdir` to directly
// output them in the `dir` directory
{ type: 'cobertura', subdir: '.', file: 'cobertura.txt' },
{ type: 'lcovonly', subdir: '.', file: 'report-lcovonly.txt' },
{ type: 'teamcity', subdir: '.', file: 'teamcity.txt' },
{ type: 'text', subdir: '.', file: 'text.txt' },
{ type: 'text-summary', subdir: '.', file: 'text-summary.txt' },
]
},
// use the webpack config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment