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

___
? New to code and none of this is making sense? Watch my ’12hr+ YouTube Coding Bootcamp’ in which you will learn HMTL,CSS and JavaScript Fundamentals completely from scratch. It’s on my channel and its 100% free.

? In most videos I use Tabnine as my A.I autocompletion tool. You can download it for free here: http://bit.ly/tabnine-top-tool

? You can get a blockchain domain with my affiliate link here: http://bit.ly/get-a-crypto-domain

? If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/aniakubow

? Sign up for weekly coding tips from my newsletter partnership: https://bit.ly/JS-tips

You can also find me on:
Twitter: https://twitter.com/ania_kubow
Instagram: https://instagram.com/aniakubow

#codingbootcamp? #coding