Working with Mocha.js, Chai.js, and Sinon.js
- 2h 9m
- Skillsoft
- 2014
Testing JavaScript code is important because you can reduce the number of bugs by checking for all conceivable test cases. This book explains how mocha.js, chai.js, and sinon.js can be used to test JavaScript code, perform assertions, and test functions having real-time dependencies.