Skip to content

Commit

Permalink
format(JestObjectAPI): Format for Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sargalias committed Jun 10, 2019
1 parent 3f84972 commit 12ad487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/JestObjectAPI.md
Expand Up @@ -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 {
Expand Down

0 comments on commit 12ad487

Please sign in to comment.