feat: Implement healthcheck api endpoint

This commit is contained in:
Faruk AYDIN
2024-02-12 18:46:43 +01:00
parent 8c936a91be
commit f21039d19d
4 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { describe, it } from 'vitest';
import request from 'supertest';
import app from '../../app.js';
describe('GET /healthcheck', () => {
it('should return 200 response with version data', async () => {
await request(app).get('/healthcheck').expect(200);
});
});