Skip to content

Commit

Permalink
Minimum 1 executors
Browse files Browse the repository at this point in the history
  • Loading branch information
joeljeske committed Feb 2, 2018
1 parent 7447f12 commit b985b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function getConfig(fullConfig) {
config.browserIdAlias = {};
config.shardStrategy = config.shardStrategy || 'round-robin';
config.aggregatedReporterTest = ('aggregatedReporterTest' in config) ? config.aggregatedReporterTest : /coverage|istanbul/i;
config.executors = config.executors || require('os').cpus().length - 1;
config.executors = config.executors || Math.max(1, require('os').cpus().length - 1);
return config;
}

Expand Down

0 comments on commit b985b9c

Please sign in to comment.