[ACS-10740] Adjust Karma and Jest config (#11365)

This commit is contained in:
Michal Kinas
2025-11-20 14:24:22 +01:00
committed by GitHub
parent 58a25fe19e
commit 03f67c861f
8 changed files with 23 additions and 25 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
/* eslint-env es6 */
const { join } = require('path');
const { constants } = require('karma');
@@ -49,13 +50,13 @@ module.exports = function (config) {
},
mochaReporter: {
ignoreSkipped: process.env?.KARMA_IGNORE_SKIPPED === 'true'
ignoreSkipped: process.env.KARMA_IGNORE_SKIPPED === 'true'
},
coverageReporter: {
dir: join(__dirname, './coverage/insights'),
dir: join(__dirname, '../../coverage/insights'),
subdir: '.',
reporters: [{ type: 'html' }, { type: 'text-summary' }],
reporters: [{ type: 'html' }, { type: 'text-summary' }, { type: 'text-summary', subdir: '.', file: 'summary.txt' }],
check: {
global: {
statements: 75,