We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f678149 commit e653a9cCopy full SHA for e653a9c
1 file changed
tests/app.test.js
@@ -4,7 +4,7 @@ const app = require('../src/app');
4
describe('Application Tests', () => {
5
describe('Health Endpoint', () => {
6
test('GET /health should return healthy status', async () => {
7
- const response = await request(app).get('/health').expect(200);
+ const response = await request(app).get('/api/health').expect(200);
8
9
expect(response.body.status).toBe('healthy');
10
expect(response.body.timestamp).toBeDefined();
0 commit comments