refactor(test): separate unit and integration tests

Rename 19 integration test files from *.test.ts to *.integration.test.ts.
Configure vitest projects to run them independently with separate coverage
thresholds. CI now reports unit and integration coverage as separate flags
to Codecov.

Unit tests: pure function calls, mocked dependencies, no DB
Integration tests: createTestApp() with in-memory DB + HTTP requests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
saltbo
2026-04-13 21:01:37 -04:00
co-authored by Claude Opus 4.6
parent 4c7dddf3eb
commit df32f35ba9
21 changed files with 67 additions and 30 deletions