0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/packages/core/src/routes/status.test.ts

11 lines
326 B
TypeScript
Raw Normal View History

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