feat: Add HTML test page for formatting functions

- Introduce a new HTML file that tests various formatting utility functions, including number, Satoshi, millisatoshi, currency, event price, and wallet balance formatting.
- Implement a structured layout with sections for each test type and a summary of test results.
- Include JavaScript to run tests on page load, displaying success and error results for each formatting function.
- Update import paths in the existing TypeScript test file to ensure compatibility with the new structure.
This commit is contained in:
padreug 2025-08-10 18:07:16 +02:00
parent 9aa9ab5d2c
commit 356f42d209
2 changed files with 299 additions and 1 deletions

View file

@ -10,7 +10,7 @@ import {
formatCurrency,
formatEventPrice,
formatWalletBalance
} from './formatting'
} from './formatting.js'
// Test data
const testNumbers = [