0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/integration-tests/tests/swagger-check.test.ts

7 lines
208 B
TypeScript

import api from '@/api';
describe('Swagger check', () => {
it('should succeed to provide swagger.json', async () => {
expect(await api.get('swagger.json')).toHaveProperty('statusCode', 200);
});
});