Testing Node.js CRUD Application With Mocha and Chai
How to test?
$ npm install -g mocha
$ npm install
$ mocha
It uses should, assert and expect BDD-style assertions.
Packages used:
chai - assertion library for node.js and browser
moc - test framework
chai-http - for http apis
Happy testing and never break your app.