mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
tests(api): Convert v2 status test to use await syntax
This commit is contained in:
parent
116fffaf4f
commit
dfa2228dcc
1 changed files with 1 additions and 2 deletions
|
|
@ -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'});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue