Tests and Code Coverage on Node.js Using TypeScript with Mocha and Istanbul
How to configure the environment, write the tests, write the API endpoints and generate the code coverage report... (more…)
Read more »
Let’s take a look at what we are trying to accomplish with this experiment. The aim is to fork a number of workers (2 x num.of cores) + 1 from a master/parent process which manages them. When the resident set size of a worker increases the defined throt…