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.
- Host: GitHub
- URL: https://github.com/ashwin7mak/unit-testing-in-mocha
- Owner: Ashwin7mak
- Created: 2018-11-14T23:10:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-15T08:49:05.000Z (over 6 years ago)
- Last Synced: 2025-04-14T22:56:38.254Z (2 months ago)
- Language: JavaScript
- Size: 187 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.