mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
v3: port static pages, make routes lib more flexible, share middlewares between v2 and v3, port v1, simplify server.js
This commit is contained in:
12
test/api/v3/integration/status/GET-status.test.js
Normal file
12
test/api/v3/integration/status/GET-status.test.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import {
|
||||
requester,
|
||||
} from '../../../../helpers/api-v3-integration.helper';
|
||||
|
||||
describe('GET /status', () => {
|
||||
it('returns status: up', async () => {
|
||||
let res = await requester().get('/status');
|
||||
expect(res).to.eql({
|
||||
status: 'up',
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user