Skip to content

Commit fef0492

Browse files
committed
【update】sonar ut report review by xiongjj
1 parent 4a7ecbe commit fef0492

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/karma.conf.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,14 @@ module.exports = function (config) {
125125
{type: 'lcov', subdir: '.'}
126126
]
127127
},
128+
plugins: [
129+
'karma-sonarqube-unit-reporter'
130+
],
128131
sonarQubeUnitReporter: {
129132
sonarQubeVersion: 'LATEST',
130133
outputFile: 'testcoverage/ut_report.xml',
134+
testPaths: ['./test'],
135+
testFilePattern: '.spec.js',
131136
useBrowserName: false
132137
},
133138
// web server port

0 commit comments

Comments
 (0)