Skip to content

Commit

Permalink
fix(jest-cli): fix typo in options when spawning workers (#5374)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr authored and cpojer committed Jan 23, 2018
1 parent fec36ae commit be66ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-cli/src/reporters/coverage_reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default class CoverageReporter extends BaseReporter {
} else {
// $FlowFixMe: assignment of a worker with custom properties.
worker = new Worker(require.resolve('./coverage_worker'), {
exposeMethods: ['worker'],
exposedMethods: ['worker'],
maxRetries: 2,
numWorkers: this._globalConfig.maxWorkers,
});
Expand Down

0 comments on commit be66ccc

Please sign in to comment.