diff --git a/jest.config.js b/jest.config.js index 05a8f8c9..a81880ff 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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: [ @@ -42,9 +44,9 @@ module.exports = { }, coverageThreshold: { global: { + lines: 90, branches: 90, functions: 90, - lines: 90, statements: 90, }, },