From 78fc0f42f7a3214f63c0d4ff0ff24c65686be19e Mon Sep 17 00:00:00 2001 From: haad Date: Sun, 6 Mar 2016 19:02:35 +0100 Subject: [PATCH] Quickfix tests --- test/orbit-client-tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/orbit-client-tests.js b/test/orbit-client-tests.js index 9ea02a9..a339471 100644 --- a/test/orbit-client-tests.js +++ b/test/orbit-client-tests.js @@ -28,8 +28,8 @@ describe('Orbit Client', function() { })); after(async((done) => { - db.delete(); - client.disconnect(); + if(db) db.delete(); + if(client) client.disconnect(); done(); }));