From b41efcf86ac00828527c0c8da42964aceffe3bf8 Mon Sep 17 00:00:00 2001 From: Unitech Date: Tue, 5 Jul 2016 17:19:29 +0200 Subject: [PATCH] api test fix --- test/programmatic/api.mocha.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/programmatic/api.mocha.js b/test/programmatic/api.mocha.js index 924ad8d7..a3d3e096 100644 --- a/test/programmatic/api.mocha.js +++ b/test/programmatic/api.mocha.js @@ -8,7 +8,7 @@ describe('API checks', function() { describe('PM2 connect old style', function() { before(function(done) { - PM2.delete('all', done); + PM2.delete('all', function() { done() }); }); after(function(done) {