recentlyViewedStore has no tests: recent-properties state is uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
recentlyViewedStore (src/store/recentlyViewedStore.ts) tracks recently viewed properties. It has no tests. A regression that loses history on reload or duplicates entries ships silently in the "recently viewed" UI.
Proposal
- Add a spec covering add, dedupe, cap, and persistence.
Acceptance criteria
- The spec asserts record/dedupe/cap behavior; it passes via
npm test.
Getting started
src/store/recentlyViewedStore.ts — the store
src/store/__tests__/transactionStore.test.ts — the pattern
Commands: npm test.
Good first files to read: src/store/recentlyViewedStore.ts.
recentlyViewedStore has no tests: recent-properties state is uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
recentlyViewedStore(src/store/recentlyViewedStore.ts) tracks recently viewed properties. It has no tests. A regression that loses history on reload or duplicates entries ships silently in the "recently viewed" UI.Proposal
Acceptance criteria
npm test.Getting started
src/store/recentlyViewedStore.ts— the storesrc/store/__tests__/transactionStore.test.ts— the patternCommands:
npm test.Good first files to read:
src/store/recentlyViewedStore.ts.