Let's see how we can test Express JS route handlers using Jest
The following code shows the definition of a very simple yet structured API
/***********************************************************/
/* src/routes/hello.js */