mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Docs: new-entity persistence stack, modal size tiers, spec anchor stability, test harness notes
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user