7167-testToMaster_2414 #2244

Merged
alexm merged 643 commits from 7167-testToMaster_2414 into master 2024-04-04 05:32:41 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit fa32cf37cd - Show all commits

View File

@ -1,7 +1,9 @@
// For a detailed explanation regarding each configuration property, visit: // For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html // https://jestjs.io/docs/en/configuration.html
/* eslint max-len: ["error", { "code": 150 }]*/ /* eslint max-len: ["error", { "code": 150 }]*/
const cpus = require('os').cpus().length;
const maxCpus = Math.floor(cpus / 5) - 1;
module.exports = { module.exports = {
name: 'front end', name: 'front end',
displayName: { displayName: {
@ -12,6 +14,7 @@ module.exports = {
setupFilesAfterEnv: [ setupFilesAfterEnv: [
'./jest-front.js' './jest-front.js'
], ],
maxWorkers: maxCpus,
testMatch: [ testMatch: [
'**/front/**/*.spec.js', '**/front/**/*.spec.js',
'**/print/**/*.spec.js', '**/print/**/*.spec.js',