In this video, i have shown the basics of how you can install the libraries required for the unit testing. I've installed few modules you can do the same by :
npm install mocha --save-dev
npm install chai-as-promised
npm install chai
inside package.json :
"scripts": {
"test": "node ./node_modules/mocha/bin/mocha"
}
#javascript #coding #vscode #chaijs #mochandchai #testing #programming #webdevelopment #webdesign #webdevelopmentcourse
#webdeveloper