/learn-mocha

Slide and code about JavaScript Unit test with Mocha, Chai, Sinon and Istanbul

Primary LanguageJavaScript

learn-mocha

slide and code about JavaScript Unit test with Mocha, Chai, Sinon and Istanbul

Setup

  • Install Nodejs >= v6.10.3
  • Install Mocha by running the command $ npm install --global mocha
  • Clone this Project and navigate to the learn-mocha/code directory in command line
  • Run npm install to install all dependencies from package.json
  • Run npm test to run all test sepcs.