Skip to content

Test verified token list helpers #937

Closed

Description

@Austinaminu2

Description

The verified-token list and merged token list currently has no test coverage (0 calls in the Vitest coverage report).

Location

lib/stellar.ts (loadVerifiedTokens, isVerifiedToken, getAllTokens)

Task

Add tests under __tests__/ (Vitest + Testing Library; only __tests__/** is collected). Cover at least:

  • verified tokens load (mock fetch)
  • load failure falls back gracefully
  • getAllTokens merges built-in, verified and custom tokens without duplicates

Acceptance criteria

  • Tests live under __tests__/ and pass with npm test
  • Listed cases are covered
  • No production code changes needed (unless a bug is found — then note it in the PR)

Good for contributors because

Self-contained test task with clear inputs/outputs; a great way to learn the codebase.

Activity

  1. added
    Stellar WaveIssues in the Stellar wave program
    and removed
    Stellar WaveIssues in the Stellar wave program
    on Oct 14, 2026
  2. bashco-web commented on Oct 17, 2026

    @bashco-web

    @bashco-web has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Interested in working on this issue. I understand the requirements and can deliver a solution that meets the expected outcome.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @bashco-web to this issue.

  3. topsonDev commented on Oct 17, 2026

    @topsonDev
    Contributor

    @topsonDev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi Maintainer, I’ve reviewed the issue thoroughly and understand exactly what needs to be done. I’m confident I can take this on and deliver a solid, well-tested solution. I’m ready to get started and would appreciate you assigning the issue to me. Thanks!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @topsonDev to this issue.

  4. drips-wave commented on Oct 17, 2026

    @drips-wave

    Congratulations, @topsonDev! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @topsonDev: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. added a commit that references this issue on Oct 18, 2026
  6. grantfox-oss commented on Oct 18, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @topsonDev's PR #1018 was approved and merged by @Austinaminu2.

    🏆 @topsonDev: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (640 total points). Track your full progress on GrantFox.

    👏 Great work, @topsonDev! Keep contributing to FlowwStar.

  7. drips-wave commented on Oct 18, 2026

    @drips-wave

    This issue has been completed by @topsonDev as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @topsonDev: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions