Spaces:
Sleeping
Sleeping
Commit History
-
test: refactor test infra with createClearCjs helper
- Add a helper to clear the CJS require cache between module re-imports - Simplify server tests that inject mock dependencies13def79
-
refactor: reorganize src into feature subdirectories
- Group config, db, middleware, redis, and server code into subfolders - Update all require paths across the codebase1f0f638 -
test: add server unit tests and restructure test suite
- Add unit tests for the HTTP request handler and route parsing - Organize test files by module directory62e3094
-
refactor: add v8 ignore annotations and export printLog for tests
- Annotate CLI-only and environment-loading code paths for V8 coverage - Remove the legacy tests/test.js runner replaced by vitest - Export printLog from the server module for coverage testsf19b08d -
test: migrate to vitest with integration tests and CI workflow
- Replace the ad-hoc node test runner with vitest - Add an integration suite covering all API endpoints against a real server - Add helpers to start and stop an isolated server and seed a temp database - Add a GitHub Actions workflow running tests on Node 22, 24, and 26 with coverage75a60d6