test: reduce max workers to prevent http 429 error

This commit is contained in:
EnixCoda 2025-05-05 20:55:41 +08:00
parent ce180f4f66
commit 7c33710528

View file

@ -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: [