From 358b1e83b1561b7f1c204af773af9ccd753be438 Mon Sep 17 00:00:00 2001 From: mauroerta Date: Fri, 4 Feb 2022 07:56:19 +0100 Subject: [PATCH] fix: max workers set to 2 in jest.onfig --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, }, },