concurrency
Use concurrency to limit the number of tests running concurrently.
The default value is the number of available cores (or os.availableParallelism() if available) minus 1. In watch mode, it uses half the number of available cores (or os.availableParallelism() if available).
CLIβ
npx poku --concurrency=4 ./test
Config Fileβ
- poku.config.js
- .pokurc.jsonc
import { defineConfig } from 'poku';
export default defineConfig({
concurrency: 4,
});
{
"$schema": "https://poku.io/schemas/configs.json",
"concurrency": 4
}
tip
To allow unlimited parallelism, set the value to 0.