Configuring code coverage report for Karma on TeamCity

前端 未结 3 1620
太阳男子
太阳男子 2021-02-05 08:14

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.

Howeve

3条回答
  •  执笔经年
    2021-02-05 08:44

    Don't know, if the sequence is important, and shouldn't you use [] brackets at preprocessors entries?

    Try the following:

    reporters: ['progress', 'coverage'],
    
    preprocessors: {
     'myProject/Scripts/app/**/*.js': ['coverage']
    },
    

提交回复
热议问题