Skip to content

Commit

Permalink
AAE-25579 Toggle logs for skipped karma unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wojd0 committed Feb 6, 2025
1 parent e62c058 commit 5ae7377
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/content-services/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '.',
Expand Down
3 changes: 3 additions & 0 deletions lib/core/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
3 changes: 3 additions & 0 deletions lib/extensions/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 4 additions & 0 deletions lib/insights/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '.',
Expand Down
3 changes: 3 additions & 0 deletions lib/process-services-cloud/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 3 additions & 1 deletion lib/process-services/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '.',
Expand Down

0 comments on commit 5ae7377

Please sign in to comment.