diff --git a/packages/jest-worker/README.md b/packages/jest-worker/README.md index d0523c940040..38b7dd60b89b 100644 --- a/packages/jest-worker/README.md +++ b/packages/jest-worker/README.md @@ -181,7 +181,7 @@ This example covers the usage with a `computeWorkerKey` method: ### File `parent.js` ```javascript -import JestWorker from 'jest-worker'; +import {Worker as JestWorker} from 'jest-worker'; async function main() { const myWorker = new JestWorker(require.resolve('./Worker'), {