From a20339037592f2115d99f74d6564996f2400f8d2 Mon Sep 17 00:00:00 2001 From: Donald Morton Date: Tue, 4 May 2021 03:28:27 -0500 Subject: [PATCH] Decrease Jest workers used to optimize build time. (#10547) --- graylog2-web-interface/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graylog2-web-interface/package.json b/graylog2-web-interface/package.json index 319e0ce839d5..44a06d668953 100644 --- a/graylog2-web-interface/package.json +++ b/graylog2-web-interface/package.json @@ -21,8 +21,8 @@ "lint:styles": "stylelint './src/**/*.{js,jsx,ts,tsx}' --syntax css-in-js", "lint:styles:path": "stylelint --syntax css-in-js", "lint:changes": "./dev/lintChanges.sh", - "test": "jest", - "test:integration": "jest --config jest.it.config.js", + "test": "jest --maxWorkers=50%", + "test:integration": "jest --maxWorkers=50% --config jest.it.config.js", "check-production-build": "node checkProductionBuild.js" }, "eslintConfig": {