Skip to content

Commit

Permalink
Add missing import to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
egdbear committed Feb 18, 2019
1 parent d62167d commit 2f68358
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Es6ClassMocks.md
Expand Up @@ -155,6 +155,8 @@ Calls to jest.mock are hoisted to the top of the code. You can specify a mock la

```javascript
import SoundPlayer from './sound-player';
import SoundPlayerConsumer from './sound-player-consumer';

jest.mock('./sound-player');

describe('When SoundPlayer throws an error', () => {
Expand Down

0 comments on commit 2f68358

Please sign in to comment.