8000 Fix coverage report subdir · packetloop/angular-webpack@e369df7 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Commit e369df7

Browse files
committed
Fix coverage report subdir
1 parent 3eb52ac commit e369df7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

karma.conf.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ module.exports = function (config) {
5757
reporters: ['progress', 'coverage'],
5858
coverageReporter: {
5959
dir: 'coverage/',
60-
subdir: function (browser) {
61-
return browser.toLowerCase().split(/[ /-]/)[0];
62-
},
60+
subdir: '.',
6361
reporters: [
6462
{type: 'cobertura', file: 'cobertura.xml'},
6563
{type: 'text', file: 'text.txt'},

0 commit comments

Comments
 (0)
0