certificateStore has no tests: certificate state is uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
certificateStore (src/store/certificateStore.ts) holds certificate data for the ownership-certificate UI. It has no tests. A regression that serves stale or wrong certificate state ships silently in the ownership-proof flow.
Proposal
- Add a spec covering certificate set/clear and derived state.
Acceptance criteria
- The spec asserts certificate state transitions; it passes via
npm test.
Getting started
src/store/certificateStore.ts — the store
src/store/__tests__/transactionStore.test.ts — the pattern
Commands: npm test.
Good first files to read: src/store/certificateStore.ts.
certificateStore has no tests: certificate state is uncovered
Labels / Complexity: testing · Trivial — Trivial
Summary
certificateStore(src/store/certificateStore.ts) holds certificate data for the ownership-certificate UI. It has no tests. A regression that serves stale or wrong certificate state ships silently in the ownership-proof flow.Proposal
Acceptance criteria
npm test.Getting started
src/store/certificateStore.ts— the storesrc/store/__tests__/transactionStore.test.ts— the patternCommands:
npm test.Good first files to read:
src/store/certificateStore.ts.