mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10740] Adjust Karma and Jest config (#11365)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user