test: add 246 verified table-driven unit tests for pure-logic modules
loading diff…
Adds 246 verified, hermetic, table-driven unit tests for pure-logic, low-dependency modules across packages/* and apps/apollo/src (common, lib, server).
it.each / describe.each); no production source files changed (additions only).*.unit.test.ts, vitest.unit.config.ts); package tests use *.test.ts.vi.mock conventions; no real dependencies are spawned. In-repo pure helpers are exercised for real to avoid brittle over-mocking.pages/), and the Go side were intentionally deferred for a follow-up that introduces a shared in-memory fake.TESTING_PRINCIPLES_RESEARCH.md (sourced from Google SWE Book ch.13/14, vitest docs, go.dev wiki, xUnit Patterns, Fowler).SKIP_VALIDATION=true corepack pnpm exec vitest run --config vitest.unit.config.ts): 268 test files passing, 4,778 tests passing. The only 12 failing files are pre-existing tests (broken imports in a fresh worktree), unrelated to this PR.git diff --cached that the change set is additions only (no modifications to existing source or tests).