Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 681 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 681 Bytes

tdd-express-mocha-chai

Demo project for CodeHub JavaScript 1-day workshop. This is a simple Express application developed using a test-driven approach using Mocha and Chai.

Requirements

How to run

The project can be run using

npm start

You can also run the tests using

npm test

How to use this project

This project is divided using git tags. Each tag corresponds to a different test in a pass or fail state. For example, 03_fail is the tag where the third test is in a fail state. To switch between tags, use

git checkout <tag_name>