AAE-25579 Toggle logs for skipped karma unit tests (#10601)

This commit is contained in:
Wojciech Duda 2025-02-07 13:02:32 +01:00 committed by GitHub
parent 97fdeb4d34
commit 0edbae8c59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 20 additions and 1 deletions

View File

@ -62,6 +62,10 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/content-services'),
subdir: '.',

View File

@ -80,6 +80,9 @@ module.exports = function (config) {
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/core'),

View File

@ -21,6 +21,9 @@ module.exports = function (config) {
jasmineHtmlReporter: {
suppressAll: true, // removes the duplicated traces
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/extensions'),

View File

@ -48,6 +48,10 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/insights'),
subdir: '.',

View File

@ -53,6 +53,9 @@ module.exports = function (config) {
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/process-service-cloud'),

View File

@ -49,7 +49,9 @@ module.exports = function (config) {
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/process-services'),
subdir: '.',