0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
logto/packages/core/src/routes/status.test.ts
2022-11-22 16:10:53 +08:00

10 lines
335 B
TypeScript

import { createRequester } from '#src/utils/test-utils.js';
import statusRoutes from './status.js';
describe('status router', () => {
const requester = createRequester({ anonymousRoutes: statusRoutes });
it('GET /status', async () => {
await expect(requester.get('/status')).resolves.toHaveProperty('status', 204);
});
});