Mocha 4+ changed behaviour to "no longer force the process to exit once all tests complete"
so async tasks will keep the test run from completing, the prebuilt-mongod daemon is such a task
This adds helper functions to allow a test to finish
stop() will send a SIGINT to cleanly shutdown
kill() will send a SIGTERM
Mocha 4+ changed behaviour to "no longer force the process to exit once all tests complete" so async tasks will keep the test run from completing, the prebuilt-mongod daemon is such a task
This adds helper functions to allow a test to finish
stop()
will send aSIGINT
to cleanly shutdownkill()
will send aSIGTERM
Fixes #38