Skip to content

Commit

Permalink
enable workers
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jan 23, 2019
1 parent 967b335 commit 1cee602
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/jest-cli/src/reporters/coverage_reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export default class CoverageReporter extends BaseReporter {
} else {
// $FlowFixMe: assignment of a worker with custom properties.
worker = new Worker(require.resolve('./coverage_worker'), {
disableWorkerThreads: true,
exposedMethods: ['worker'],
maxRetries: 2,
numWorkers: this._globalConfig.maxWorkers,
Expand Down
1 change: 0 additions & 1 deletion packages/jest-haste-map/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ class HasteMap extends EventEmitter {
} else {
// $FlowFixMe: assignment of a worker with custom properties.
this._worker = (new Worker(require.resolve('./worker'), {
disableWorkerThreads: true,
exposedMethods: ['getSha1', 'worker'],
maxRetries: 3,
numWorkers: this._options.maxWorkers,
Expand Down
1 change: 0 additions & 1 deletion packages/jest-runner/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ class TestRunner {
) {
// $FlowFixMe: class object is augmented with worker when instantiating.
const worker: WorkerInterface = new Worker(TEST_WORKER_PATH, {
disableWorkerThreads: true,
exposedMethods: ['worker'],
forkOptions: {stdio: 'pipe'},
maxRetries: 3,
Expand Down

0 comments on commit 1cee602

Please sign in to comment.