express-api/src/routes/healthRouter.ts

Summary

Maintainability
A
0 mins
Test Coverage
import controllers from '@/controllers';
import catchErrors from '@/utilities/controllerErrorWrapper';
import express from 'express';

const router = express.Router();

// Health-check endpoints
router.route('/').get(catchErrors(controllers.healthCheck));

export default router;