Configuring code coverage report for Karma on TeamCity
问题 We are setting up TeamCity to run our jasmine tests using node and karma. The tests run fine and results are reported under the "Tests" tab in TeamCity. However we would like to report code coverage in TeamCity (and even set Build Failure Conditions on the level). I have installed the karma-coverage module npm install karma-coverage --save-dev And tried to configure it in karma.conf.js by adding preprocessors: { 'myProject/Scripts/app/**/*.js': 'coverage' }, reporters: ['progress', 'coverage'