mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
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 () => {
|
it('returns a status of up when server is up', async () => {
|
||||||
let api = requester();
|
let api = requester();
|
||||||
|
|
||||||
return expect(api.get('/status'))
|
await expect(api.get('/status')).to.eventually.eql({status: 'up'});
|
||||||
.to.eventually.eql({status: 'up'});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user