javascript-unit-testing-with-mocha
javascript-unit-testing-with-mocha copied to clipboard
Unit test using Mocha and Chai
javascript-unit-testing-with-mocha
code about JavaScript Unit test with Mocha, Chai, Sinon
Setup
- Install Nodejs >= v6.10.3
- Install Mocha by running the command
$ npm install --global mocha
- Clone this Project and navigate to the javascript-unit-testing-with-mocha/xx directory in command line (xx is like 01)
- Run
npm install
to install all dependencies from package.json - Run
npm test
to run all test specs. OR - RUN
bash src/bash/install-n-run-them-all.sh