tests(api): Convert v2 status test to use await syntax
This commit is contained in:
@@ -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'});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user