Skip to content

Commit f4bf6e6

Browse files
committed
【test】覆盖率统计增加json输出格式
1 parent 07ad783 commit f4bf6e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ module.exports = function (config) {
147147

148148
coverageReporter: {
149149
dir: 'testcoverage/',
150-
reporters: [{ type: 'lcov', subdir: '.' }]
150+
reporters: [{ type: 'lcov', subdir: '.' },{ type: 'json', subdir: '.' }]
151151
},
152152
sonarQubeUnitReporter: {
153153
sonarQubeVersion: 'LATEST',

0 commit comments

Comments
 (0)