Skip to content

Commit

Permalink
Fix typo in Es6ClassMocks.md (#5833)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomes authored and rickhanlonii committed Mar 19, 2018
1 parent 9202439 commit 124067e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Es6ClassMocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class, but does not provide a way to spy on calls.
For the contrived example, the mock might look like this:

```javascript
// __mocks/sound-player.js
// __mocks__/sound-player.js
export default class SoundPlayer {
constructor() {
console.log('Mock SoundPlayer: constructor was called');
Expand Down

0 comments on commit 124067e

Please sign in to comment.