Skip to content

Commit

Permalink
Typo'd fake to fakes
Browse files Browse the repository at this point in the history
  • Loading branch information
drhayes authored and mroderick committed May 8, 2018
1 parent 43c45c8 commit ec00981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/release-source/release/fakes.md
Expand Up @@ -57,11 +57,11 @@ fake();
// Error: not apple pie
```

#### `sinon.fakes.resolves(value);`
#### `sinon.fake.resolves(value);`

Creates a fake that returns a resolved `Promise` for the passed value.

#### `sinon.fakes.rejects(value);`
#### `sinon.fake.rejects(value);`

Creates a fake that returns a rejected `Promise` for the passed value.

Expand Down

2 comments on commit ec00981

@jrmykolyn
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just came across this in the v5.0.7 docs. 👍

@whymarrh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I also just came across this and went looking.

Please sign in to comment.