Skip to content

Commit e653a9c

Browse files
committed
Fix: Correct health check endpoint routing in test file
1 parent f678149 commit e653a9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/app.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const app = require('../src/app');
44
describe('Application Tests', () => {
55
describe('Health Endpoint', () => {
66
test('GET /health should return healthy status', async () => {
7-
const response = await request(app).get('/health').expect(200);
7+
const response = await request(app).get('/api/health').expect(200);
88

99
expect(response.body.status).toBe('healthy');
1010
expect(response.body.timestamp).toBeDefined();

0 commit comments

Comments
 (0)