cron: ensure all jobs are cleaned up

This commit is contained in:
Girish Ramakrishnan
2017-11-27 12:40:13 -08:00
parent abe04d7d10
commit 8b11692e37
2 changed files with 59 additions and 91 deletions

View File

@@ -25,6 +25,7 @@ describe('Server', function () {
before(function () {
config.set('version', '0.5.0');
config.set('provider', 'notcaas'); // otherwise, cron sets a caas timer for heartbeat causing the test to not quit
});
after(cleanup);