We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922b037 commit 0816692Copy full SHA for 0816692
1 file changed
docs/Es6ClassMocks.md
@@ -101,6 +101,7 @@ Import the mock and the mock method shared by all instances:
101
```javascript
102
// sound-player-consumer.test.js
103
import SoundPlayer, { mockPlaySoundFile } from './sound-player';
104
+import SoundPlayerConsumer from './sound-player-consumer';
105
jest.mock('./sound-player'); // SoundPlayer is now a mock constructor
106
107
beforeEach(() => {
0 commit comments