Skip to content

Commit 6815fea

Browse files
committed
Updating coverage on karma.conf and circleci
1 parent 7c09750 commit 6815fea

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ jobs:
3737
# run tests!
3838
- run: npm run lint
3939
- run: npm run test -- --codeCoverage=true --progress=true --watch=false
40-
- run: cat coverage/plotly/lcov.info | ./node_modules/coveralls/bin/coveralls.js
40+
- run: cat projects/plotly/coverage/plotly/report-lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js
4141
- run: npm run build -- plotly --prod

projects/plotly/karma.conf.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ module.exports = function (config) {
1515
client: {
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
18-
coverageIstanbulReporter: {
18+
coverageReporter: {
1919
dir: require('path').join(__dirname, '../../coverage/plotly'),
20-
reports: ['html', 'lcovonly', 'text-summary'],
21-
fixWebpackSourcePaths: true
20+
reporters: [
21+
{ type: 'html', subdir: 'report-html' },
22+
{ type: 'lcov', subdir: 'report-lcov' },
23+
{ type: 'text-summary', subdir: '.', file: 'text-summary.txt' },
24+
]
2225
},
2326
reporters: ['progress', 'kjhtml'],
2427
port: 9876,

0 commit comments

Comments
 (0)