Supertest Jest Testing NodeJs/Express API with Jest and Supertest This is part three of building API using Express, Sequelize, and Postgres. In part two, we built simple API endpoints to demonstrate CRUD operations in Sequelize. In this article, we'll be focusing on writing end-to-end tests for the API endpoints created in part two. Explanation of terms End-to-end testing - a type of test which te
![Testing NodeJs/Express API with Jest and Supertest](https://cdn-ak-scissors.b.st-hatena.com/image/square/ccf66e93e0eaf07139ceb1db842b15098bd57f57/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fpracticaldev%2Fimage%2Ffetch%2Fs--j538zuc9--%2Fc_imagga_scale%2Cf_auto%2Cfl_progressive%2Ch_500%2Cq_auto%2Cw_1000%2Fhttps%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fzayddox3v8ysiujutnxb.png)