Skip to content

Add currency formatter tests#152

Open
kongwen686 wants to merge 2 commits into
dreamgeneX:mainfrom
kongwen686:bounty-88-currency-tests
Open

Add currency formatter tests#152
kongwen686 wants to merge 2 commits into
dreamgeneX:mainfrom
kongwen686:bounty-88-currency-tests

Conversation

@kongwen686
Copy link
Copy Markdown
Contributor

Summary

  • add a small currency formatter utility for USDC, EURC, and XLM
  • cover symbol selection, decimal precision, locale-specific grouping, and invalid amount handling

Verification

  • node --test tests/currency.test.mjs

Note: this local workspace does not have its own node_modules, so I linked to an existing local node_modules directory containing the repository devDependency typescript to run the test. In a normal checkout, npm install/npm ci provides that dependency.

Closes #88

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

@kongwen686 is attempting to deploy a commit to the dreamgenex's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unit tests for the currency formatter utility

1 participant