view data fixes
Some checks failed
Contract Testing / contract-snapshot (pull_request) Has been cancelled
Contract Testing / contract-tests (pull_request) Has been cancelled

This commit is contained in:
2026-01-25 00:12:30 +01:00
parent 1b0a1f4aee
commit 6c07abe5e7
37 changed files with 400 additions and 185 deletions

View File

@@ -46,7 +46,7 @@ describe('WalletViewModel', () => {
it('formats balance with currency and 2 decimals', () => {
const vm = new WalletViewModel(createWalletDto({ balance: 250, currency: 'USD' }));
expect(vm.formattedBalance).toBe('USD 250.00');
expect(vm.formattedBalance).toBe('$250.00');
});
it('derives balanceColor based on sign of balance', () => {