Skip to content

Commit

Permalink
docs: Update Es6ClassMocks.md
Browse files Browse the repository at this point in the history
Removes unnecessary import from an example
  • Loading branch information
rburdet authored Jun 14, 2023
1 parent 6460335 commit 091f77a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/Es6ClassMocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ You can mock/spy on them easily, here is an example:
```javascript
// your jest test file below
import SoundPlayer from './sound-player';
import SoundPlayerConsumer from './sound-player-consumer';

const staticMethodMock = jest
.spyOn(SoundPlayer, 'brand')
Expand Down

0 comments on commit 091f77a

Please sign in to comment.