In this article, we’ll discuss how to use the new Node.js test runner for some basic testing, as well as using Jest for testing different endpoints.
https://blog.logrocket.com/node-js-express-test-driven-development-jest/
https://blog.logrocket.com/node-js-express-test-driven-development-jest/