1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 23:30:05 +02:00

style(portal-api): format

This commit is contained in:
Sérgio Ramos 2017-08-23 14:25:45 +01:00
parent 5fbb94f54d
commit 983db9ede5

View File

@ -52,7 +52,7 @@ describe('getMetrics()', () => {
expect(err).to.not.be.an.error(); expect(err).to.not.be.an.error();
expect(metrics.length).to.equal(1); expect(metrics.length).to.equal(1);
expect(metrics[0].name).to.equal('AVG_MEM_BYTES'); expect(metrics[0].name).to.equal('AVG_MEM_BYTES');
server.close(() => done()); server.close(() => { return done(); });
}); });
}); });
}); });
@ -121,7 +121,7 @@ describe('getInstance()', () => {
}).then((metrics) => { }).then((metrics) => {
expect(metrics.length).to.equal(1); expect(metrics.length).to.equal(1);
expect(metrics[0].name).to.equal('AVG_MEM_BYTES'); expect(metrics[0].name).to.equal('AVG_MEM_BYTES');
server.close(() => done()); server.close(() => { return done(); });
}); });
}); });
}); });