Chapter Exercise
In this exercise, you’ll get a chance to expand the functionality of newman, the automated testing app we used in Chapter 9, Testing APIs. This time, along with using the newman library to test our package, you’ll get a chance to add an additional step that will automatically deploy your package to the Heroku cloud platform.
In this exercise you’ll need to update the norman utility to handle continuous deployment. There’s a copy of the source code for this utility in the utilities folder of the downloadable source code associated with this book.[94]
To update the utility, you’ll need to go to the code/deploying/exercise/before/norman folder and open the index.js file to locate the commented section with the title add deployment ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access