karma-coverage
karma-coverage copied to clipboard
coverageReporter lcov storing html reports in same fir as source code
With the following configuration
coverageReporter = {
type: 'lcov',
dir: 'reports/',
subdir: 'coverage'
};
is lcov result correctly deployed in reports/coverage. The html files are generated in the same directory where the source files are.
karma version 0.13.9
Try this way:
coverageReporter: {
dir: 'reports',
reporters: [
{
type: 'lcov',
subdir: 'coverage'
}
]
}