Testing with Mocha/Chai/Sinon: Quick Start Guide
If you aren’t in the habit already, writing tests for your code is an excellent way to stay disciplined as a software engineer on any project. If you don’t think that it’s worth your time, but wish you had a way to thoroughly check your code as…