diff --git a/packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js b/packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js index 5a3bdfd38617..131ee206ad0d 100644 --- a/packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js +++ b/packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js @@ -88,8 +88,8 @@ it('initializes the thread with the given workerPath and workerId', () => { forkOptions: {}, maxRetries: 3, setupArgs: ['foo', 'bar'], - workerPath: '/tmp/foo/bar/baz.js', workerId: 2, + workerPath: '/tmp/foo/bar/baz.js', }); expect(worker._worker.postMessage.mock.calls[0][0]).toEqual([ @@ -97,7 +97,7 @@ it('initializes the thread with the given workerPath and workerId', () => { false, '/tmp/foo/bar/baz.js', ['foo', 'bar'], - '3' + '3', ]); }); diff --git a/packages/jest-worker/src/workers/__tests__/threadChild.test.js b/packages/jest-worker/src/workers/__tests__/threadChild.test.js index d298b38f4f0f..657ce23a33bb 100644 --- a/packages/jest-worker/src/workers/__tests__/threadChild.test.js +++ b/packages/jest-worker/src/workers/__tests__/threadChild.test.js @@ -134,11 +134,11 @@ it('sets env.JEST_WORKER_ID', () => { true, // Not really used here, but for flow type purity. './my-fancy-worker', [], - '3' + '3', ]); expect(process.env.JEST_WORKER_ID).toBe('3'); -}) +}); it('lazily requires the file', () => { expect(mockCount).toBe(0);