Merge pull request #7208 from ahocevar/no-coverage-locally
Do not calculate coverage when running tests locally
This commit is contained in:
@@ -57,13 +57,7 @@ module.exports = function(karma) {
|
|||||||
'/rendering/': '/base/rendering/',
|
'/rendering/': '/base/rendering/',
|
||||||
'/spec/': '/base/spec/'
|
'/spec/': '/base/spec/'
|
||||||
},
|
},
|
||||||
preprocessors: {
|
reporters: ['progress'],
|
||||||
// source files, that you wanna generate coverage for
|
|
||||||
// do not include tests or libraries
|
|
||||||
// (these files will be instrumented by Istanbul)
|
|
||||||
'../src/**/*.js': ['coverage']
|
|
||||||
},
|
|
||||||
reporters: ['progress', 'coverage'],
|
|
||||||
coverageReporter: {
|
coverageReporter: {
|
||||||
reporters: [
|
reporters: [
|
||||||
{
|
{
|
||||||
@@ -125,6 +119,12 @@ module.exports = function(karma) {
|
|||||||
browserNoActivityTimeout: 240000,
|
browserNoActivityTimeout: 240000,
|
||||||
customLaunchers: customLaunchers,
|
customLaunchers: customLaunchers,
|
||||||
browsers: Object.keys(customLaunchers),
|
browsers: Object.keys(customLaunchers),
|
||||||
|
preprocessors: {
|
||||||
|
// source files, that you wanna generate coverage for
|
||||||
|
// do not include tests or libraries
|
||||||
|
// (these files will be instrumented by Istanbul)
|
||||||
|
'../src/**/*.js': ['coverage']
|
||||||
|
},
|
||||||
coverageReporter: {
|
coverageReporter: {
|
||||||
reporters: [
|
reporters: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user