JavaScript Mocking Example of how to use Stubs, Spies and Mocks for JavaScript tests. Blog Post describes how to use this repo. Technologies SinonJS (Pronounced "sigh-non") MochaJS Install $ yarn Basic In-memory storage Run basic program. $ yarn start Run tests. $ yarn test Further Reading SinonJS docs