You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update dependencies to latest, including currencyx-js to:
fix: Improve currency rounding logic and add comprehensive tests (roundMoney())
Updated the roundMoney method in BaseCurrencyExchange to simplify rounding logic and ensure correct behavior for various currencies.
Added a new test suite currency_rounding.test.ts to validate the rounding functionality across multiple currencies, including edge cases and special rounding rules.
Introduced currency_system_final_validation.test.ts to confirm the overall integrity of the currency system and validate that all fixes are in place.
Created real_world_currency_corrections.test.ts to address specific rounding behaviors for currencies like VND, KRW, IDR, KHR, LAK, and MMK based on real-world usage.
Ensured all tests cover a wide range of scenarios, including performance and reliability checks.