mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Move api tests to v2 namespace
This commit is contained in:
10
test/api/v2/status/GET-status.test.js
Normal file
10
test/api/v2/status/GET-status.test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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