From dfa2228dccdae6406c99e589e09773443d48be33 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Sat, 2 Jan 2016 22:23:53 -0600 Subject: [PATCH] tests(api): Convert v2 status test to use await syntax --- test/api/v2/status/GET-status.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/api/v2/status/GET-status.test.js b/test/api/v2/status/GET-status.test.js index 6e9974537c..681da16499 100644 --- a/test/api/v2/status/GET-status.test.js +++ b/test/api/v2/status/GET-status.test.js @@ -4,7 +4,6 @@ describe('Status', () => { it('returns a status of up when server is up', async () => { let api = requester(); - return expect(api.get('/status')) - .to.eventually.eql({status: 'up'}); + await expect(api.get('/status')).to.eventually.eql({status: 'up'}); }); });