mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-24 23:22:31 +08:00
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:
co-authored by
Claude Opus 4.6
parent
4c7dddf3eb
commit
df32f35ba9
Reference in New Issue
Block a user