From 983db9ede52b45547cdf212e5dfcaf1d38dfbd48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 23 Aug 2017 14:25:45 +0100 Subject: [PATCH] style(portal-api): format --- packages/portal-api/test/data/unit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/portal-api/test/data/unit.js b/packages/portal-api/test/data/unit.js index 677f42bf..2f48f4ad 100644 --- a/packages/portal-api/test/data/unit.js +++ b/packages/portal-api/test/data/unit.js @@ -52,7 +52,7 @@ describe('getMetrics()', () => { expect(err).to.not.be.an.error(); expect(metrics.length).to.equal(1); expect(metrics[0].name).to.equal('AVG_MEM_BYTES'); - server.close(() => done()); + server.close(() => { return done(); }); }); }); }); @@ -121,7 +121,7 @@ describe('getInstance()', () => { }).then((metrics) => { expect(metrics.length).to.equal(1); expect(metrics[0].name).to.equal('AVG_MEM_BYTES'); - server.close(() => done()); + server.close(() => { return done(); }); }); }); });