Docs: new-entity persistence stack, modal size tiers, spec anchor stability, test harness notes

This commit is contained in:
2026-06-12 18:16:34 +03:00
parent 0baac3c64b
commit 887de7412e
3 changed files with 16 additions and 5 deletions
+6
View File
@@ -131,3 +131,9 @@ source of truth is `version` in `package.json`, injected as `__APP_VERSION__`.
High coverage on `src/core/` (parsing, detection, profiling, reference resolution, fit
transforms, import normalization). Lighter on components. Extract testable logic out of
components into core/stores where practical.
Component tests (happy-dom) share a harness shape: `createRoot` + `act` with
`IS_REACT_ACT_ENVIRONMENT = true` set at module level, stores reset in `beforeEach`, and
`vi.mock('../services/chart-renderer', …)` for anything that embeds a chart (vega-embed is
integration-heavy; a resolved no-op handle suffices) — see any `components/*.test.tsx`.
Infrastructure tests that touch IndexedDB run against `fake-indexeddb`.