forked from sinonjs/sinon
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposed improvement to stubs doc, [as suggested here](sinonjs#2062). - Focus more on the basics of stubbing an object's function (stub pre-programmed to throw exception/return value) - Less discussion on spies - Provide very simple code to test as an example, instead of external library's (PubSub) code - Show why restoration of a stub is necessary
- Loading branch information
1 parent
edc98b7
commit bc27118
Showing
1 changed file
with
76 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters