In this video I show you how to write your first unit test using Mocha and Chai. Mocha is a popular testing framework that we will be using for this video, along with Chai which is an assertion library.
---Other links----
- If you liked this short video, and would like to buy me a coffee: https://www.buymeacoffee.com/aniakubow
- Sign up for weekly coding tips from my newsletter partnership: http://bit.ly/JS-tips
- If you are looking to deploy this project, you can use 10% off on Hostinger with code ANIAKUBOW. https://www.hostinger.com/aniakubow
The source code for this project can be found here: https://github.com/kubowania/mocha-test
You can also find me on:
Twitter: https://twitter.com/ania_kubow
Instagram: https://instagram.com/aniakubow