comparisonHistoryStore has no tests: comparison history persistence is uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
comparisonHistoryStore (src/store/comparisonHistoryStore.ts) records past property comparisons. It has no tests. A regression that loses history or grows unbounded ships silently in the history UI.
Proposal
- Add a spec covering record, cap/eviction, and clear behavior.
Acceptance criteria
- The spec asserts history records and cap behavior; it passes via
npm test.
Getting started
src/store/comparisonHistoryStore.ts — the store
src/store/__tests__/transactionStore.test.ts — the pattern
Commands: npm test.
Good first files to read: src/store/comparisonHistoryStore.ts.
comparisonHistoryStore has no tests: comparison history persistence is uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
comparisonHistoryStore(src/store/comparisonHistoryStore.ts) records past property comparisons. It has no tests. A regression that loses history or grows unbounded ships silently in the history UI.Proposal
Acceptance criteria
npm test.Getting started
src/store/comparisonHistoryStore.ts— the storesrc/store/__tests__/transactionStore.test.ts— the patternCommands:
npm test.Good first files to read:
src/store/comparisonHistoryStore.ts.