Skip to content

Commit 2649769

Browse files
committed
Add server integration tests, refactor initialization logic, and update coverage thresholds
- Replace health endpoint test with comprehensive server integration tests, including API routes, error handling, and environment configuration. - Refactor `notes-api-server.js` to modularize initialization, repository creation, and server startup logic. - Add graceful shutdown handling and exported helper methods for repositories. - Update Jest coverage thresholds to reflect increased test coverage.
1 parent b9e97b9 commit 2649769

4 files changed

Lines changed: 523 additions & 82 deletions

File tree

__tests__/api/health.test.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)