Skip to content

Commit

Permalink
fix: max workers set to 2 in jest.onfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroerta committed Feb 4, 2022
1 parent 773025d commit 358b1e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ const projects = packages.map(package => {
};
});

/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
projects,
maxWorkers: 2,
coverageDirectory: './coverage',
coverageReporters: ['json-summary', 'text', 'html', 'lcov'],
collectCoverageFrom: [
Expand All @@ -42,9 +44,9 @@ module.exports = {
},
coverageThreshold: {
global: {
lines: 90,
branches: 90,
functions: 90,
lines: 90,
statements: 90,
},
},
Expand Down

0 comments on commit 358b1e8

Please sign in to comment.