Skip to content

onboardingStore has no tests: onboarding progress state is uncovered #907

Description

@nanaf6203-bit

onboardingStore has no tests: onboarding progress state is uncovered

Labels / Complexity: testing · Trivial — Trivial

Summary

onboardingStore (src/store/onboardingStore.ts) tracks the user's onboarding progress. It has no tests. A regression that loses progress (restarting onboarding on every visit) or marks steps complete prematurely ships silently.

Proposal

  • Add a spec covering step completion, progress persistence, and reset.

Acceptance criteria

  • The spec asserts progress transitions and persistence; it passes via npm test.

Getting started

  • src/store/onboardingStore.ts — the store
  • src/store/__tests__/transactionStore.test.ts — the pattern

Commands: npm test.

Good first files to read: src/store/onboardingStore.ts.

Activity

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

Metadata

Metadata

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