This project is a simple express app for demonstrating testing and code coverage. Jest and Supertest are used for testing. Jest is also used for mocking functions and measuring code coverage. Note that this app only focuses on server-side JavaScript testing.
npm installnpm start and go here:
http://localhost:3000/npm testnpm run test:e2eA new code coverage report is generated every time npm test runs.