We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0b3e8e + cff1410 commit bfbf4c9Copy full SHA for bfbf4c9
src/TestRunner.js
@@ -24,7 +24,7 @@ var DEFAULT_OPTIONS = {
24
* It's probably good to keep this at something close to the number of cores
25
* on the machine that's running the test.
26
*/
27
- maxWorkers: os.cpus().length - 1,
+ maxWorkers: Math.max(os.cpus().length - 1, 1),
28
29
/**
30
* The path to the executable node binary.
0 commit comments