mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
test: reduce max workers to prevent http 429 error
This commit is contained in:
parent
462b727bff
commit
ce180f4f66
2 changed files with 2 additions and 2 deletions
|
|
@ -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: 8,
|
||||
maxWorkers: 2,
|
||||
|
||||
// An array of directory names to be searched recursively up from the requiring module's location
|
||||
// moduleDirectories: [
|
||||
|
|
|
|||
|
|
@ -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: 8,
|
||||
|
||||
// An array of directory names to be searched recursively up from the requiring module's location
|
||||
moduleDirectories: ['src', 'node_modules'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue