Skip to content

Fix: [test] Cover amount parser negative and rounding cases - #1807

Merged
K1NGD4VID merged 1 commit into
LabsCrypt:mainfrom
VeronicDev:fix/issue-1779-1792667600312
Oct 22, 2026
Merged

K1NGD4VID merged 1 commit into
LabsCrypt:mainfrom
VeronicDev:fix/issue-1779-1792667600312

Conversation

@VeronicDev

Copy link
Copy Markdown
Contributor

Closes #1779

Changes

Correct test assertions in frontend/src/utils/amount.test.ts to match the amount parser implementation which rejects negative numbers and returns 0n.

Verification

✅ The repository's own CI passed on this branch (run on the contributor's fork before opening this PR), and the change is within the issue's scope.

@VeronicDev
VeronicDev force-pushed the fix/issue-1779-1792667600312 branch from 135f959 to 95ff950 Compare October 22, 2026 11:51
@K1NGD4VID
K1NGD4VID merged commit b9400af into LabsCrypt:main Oct 22, 2026
13 checks passed
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.

[test] Cover amount parser negative and rounding cases

2 participants