Replace truthiness guard with Number.isFinite() so NaN and Infinity are explicitly rejected rather than silently masked. Zero is now handled by toLocaleString, which returns '0' correctly. Add test cases for NaN and Infinity. |
||
|---|---|---|
| .. | ||
| format.test.ts | ||
| functions.test.ts | ||
| ids.test.ts | ||
| position.test.ts | ||
| snatch.test.ts | ||
| staking.test.ts | ||
| subgraph.test.ts | ||
| taxRates.test.ts | ||
| version.test.ts | ||