Commit d24bce1
test(charts): cover fixedDecimals = false in formatTooltipValueWithUnit
Verify whole values render bare (e.g. "5 op/s", "20 kB") on both the
re-derived-unit and no-unitRange paths, while fractional values keep up
to two decimals.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 08d1876 commit d24bce1
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
493 | 515 | | |
0 commit comments