Skip to content

Commit be66ccc

Browse files
dlmrcpojer
authored andcommitted
fix(jest-cli): fix typo in options when spawning workers (#5374)
1 parent fec36ae commit be66ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jest-cli/src/reporters/coverage_reporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export default class CoverageReporter extends BaseReporter {
158158
} else {
159159
// $FlowFixMe: assignment of a worker with custom properties.
160160
worker = new Worker(require.resolve('./coverage_worker'), {
161-
exposeMethods: ['worker'],
161+
exposedMethods: ['worker'],
162162
maxRetries: 2,
163163
numWorkers: this._globalConfig.maxWorkers,
164164
});

0 commit comments

Comments
 (0)