Code Coverage - NodeJS This example code will demonstrate on how to generate code coverage from PactumJS tests on a NodeJS server. Get Started Install Dependencies. npm i Runs the server and runs the tests and dumps the coverage. bash coverage.sh