An open API service indexing awesome lists of open source software.

https://github.com/ashwin7mak/unit-testing-in-mocha

My first attempt writing unit tests in javascript using mocha.
https://github.com/ashwin7mak/unit-testing-in-mocha

Last synced: 2 months ago
JSON representation

My first attempt writing unit tests in javascript using mocha.

Awesome Lists containing this project

README

        

# javascript-unit-testing-with-mocha
My first attempt writing unit tests in javascript using mocha.

## Getting Started
These instructions are used to write unit test for famous coin change problem using mocha.

### Installing

* Install mocha and chai globally by running `npm install mocha -g --save-dev` and `npm install chai -g --save-dev`
* Clone the project and navigate to the test directory.
* Run `npm install` to install all dependencies from package.json.
* Run `npm test` to run all test specs.