mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
tests(api): Add async to every it, before and beforeEach in v2 tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {requester} from '../../../helpers/api-integration.helper';
|
||||
|
||||
describe('Status', () => {
|
||||
it('returns a status of up when server is up', () => {
|
||||
it('returns a status of up when server is up', async () => {
|
||||
let api = requester();
|
||||
|
||||
return expect(api.get('/status'))
|
||||
|
||||
Reference in New Issue
Block a user