Skip to content

Add integration test for holder count formatting using K suffix above one thousand #484

Description

@Chucks1093

Summary

The formatHolderCount helper formats counts above 1000 with a K suffix. An integration test should confirm the formatted value is actually rendered in the creator card and not the raw number.

Scope

  • Render a creator card with a holder count of 1500
  • Assert the displayed text contains 1.5K and not 1500
  • Render with a count of 999 and assert the raw number is shown without a suffix

Acceptance Criteria

  • Count of 1500 renders as 1.5K
  • Count of 999 renders as 999
  • Raw number is never shown for counts above 1000

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions