Testing NodeJs/Express API with Jest and Supertest

Why you should write tests? To make sure you do not break any existing code. To guarantee that new code works as intended. you can find more in my tutorial

Project setup

npm install

Run Tests

npm start