From 7c337105285de2a9e4ff52b42d9ae84a2b960621 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Mon, 5 May 2025 20:55:41 +0800 Subject: [PATCH] test: reduce max workers to prevent http 429 error --- __tests__/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/jest.config.js b/__tests__/jest.config.js index 5676c01..ab470d8 100644 --- a/__tests__/jest.config.js +++ b/__tests__/jest.config.js @@ -61,7 +61,7 @@ module.exports = { // globals: {}, // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - maxWorkers: 2, + maxWorkers: 1, // An array of directory names to be searched recursively up from the requiring module's location // moduleDirectories: [