Pconcurrency
Bun

property

test.default.RunOptions.concurrency

concurrency?: number | boolean

If a number is provided, then that many tests would run asynchronously (they are still managed by the single-threaded event loop). If true, it would run os.availableParallelism() - 1 test files in parallel. If false, it would only run one test file at a time.