Currently it is hard to test harvesterjs with isolating it properly due to the fact that whenever the app starts listening there is no way to make it stop. This PR simply exposes the close functionality from express and makes it available to harvester instances.
Currently it is hard to test harvesterjs with isolating it properly due to the fact that whenever the app starts listening there is no way to make it stop. This PR simply exposes the close functionality from express and makes it available to harvester instances.
This change is