Skip to content

certificateStore has no tests: certificate state is uncovered #900

Description

@nanaf6203-bit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programTrivialtestingTest coverage or test reliability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions