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