mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
10 lines
335 B
TypeScript
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);
|
|
});
|
|
});
|