diff --git a/docs/JestObjectAPI.md b/docs/JestObjectAPI.md index 4c8d89cea4ce..993105fa5eba 100644 --- a/docs/JestObjectAPI.md +++ b/docs/JestObjectAPI.md @@ -243,7 +243,7 @@ moduleName(); // Will return '42'; When using the `factory` parameter for an ES6 module with a default export, the `__esModule: true` property needs to be specified: ```js -import moduleName, { foo } from '../moduleName'; +import moduleName, {foo} from '../moduleName'; jest.mock('../moduleName', () => { return {