Tag: "mocha"
3 posts
Using Chai.js assertions for testing arrays, objects, error throwing and async functions
Using Sinon.js to create stubs and spies that can replace code dependencies
A demonstration of replacing code dependencies with Sinon.js stubs and spies