0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/integration-tests/tests/health-check.test.ts
simeng-li 162998f414
refactor(test): refactor integration test step 1 (#1684)
* chore(test): integration test update

add dotenv

* chore(core): update pnpm lock

update pnpm lock

* refactor(test): refactor integration test step 1

extract api, and orgnize test case following core/route structure

* chore(test): update path

update path

* fix(test): update path

update path

* fix(test): cr update
cr update
2022-07-27 03:23:10 +00:00

7 lines
193 B
TypeScript

import { api } from '@/api';
describe('Health check', () => {
it('should have a health state', async () => {
expect(await api.get('status')).toHaveProperty('statusCode', 204);
});
});