Skip to content

maxConcurrency

  • 类型: number
  • 默认值: 5
  • 命令行: --max-concurrency=10, --maxConcurrency=10

使用 test.concurrentdescribe.concurrent 时,可以同时运行的测试和钩子的最大数量。

单个组内的钩子执行顺序也由 sequence.hooks 控制。当 sequence.hooks: 'parallel' 时,执行受 maxConcurrency 的相同限制约束。