This example demonstrates how you can create tests on an Express application using Mocha.js. Express is used to create a server and supertest is used for HTTP assertions inside the Mocha test runner.
- No config file is needed for Mocha as the app uses default values
npm test
- run the mocha test code