I want to get cobertura and html output from the karma coverage reporter. At the moment I have to run the tests twice. One time with this configuration:
reporters: ['progress', 'coverage']
coverageReporter: { type : 'cobertura', dir : 'coverage/', file: 'cobertura.xml' }
The other time with:
coverageReporter: {type : 'html'....
Is there a way to do this in one run?
coverageReporter: {
reporters: [
{ type: 'html', dir: '/' },
{ type: 'cobertura', dir: '...' }
]
}
Should work