Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
add karma-coveralls (#50)
Browse files Browse the repository at this point in the history

* add coveralls config
  • Loading branch information
tboeckmann committed Jun 16, 2019
1 parent b285c41 commit 1e9203a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Empty file added .coveralls.yml
Empty file.
7 changes: 6 additions & 1 deletion src/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = function (config) {
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma'),
require('karma-coveralls')
],
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
Expand All @@ -20,7 +21,11 @@ module.exports = function (config) {
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml','coverage-istanbul'],
coverageReporter: {
type: 'lcov', // lcov or lcovonly are required for generating lcov.info files
dir: 'coverage/'
},
reporters: ['progress', 'kjhtml','coverage-istanbul','coveralls'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
Expand Down

0 comments on commit 1e9203a

Please sign in to comment.