agco / harvesterjs

Create JSONAPI-compliant APIs over a Node.js + MongoDB stack in an easy, boilerplate-free manner
http://agco.github.io/harvesterjs/
MIT License
68 stars 13 forks source link

adds close method to harvesterjs #212

Closed Juraci closed 7 years ago

Juraci commented 7 years ago

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 Reviewable


ggoulart commented 7 years ago

:shipit: image