theaveragedev.com
Developing a Local addon – 05
Mocking objects in JavaScript tests with Sinon.js.