Use e+ notation for very large number #5543
Annotations
2 errors and 1 warning
src/utils/helpers/number.test.ts > Test helpers > prettifyNumber > Numbers > should return "100.00E18" for input 1e20:
src/utils/helpers/number.test.ts#L329
AssertionError: expected '100.00e¹⁸' to deeply equal '100.00E18'
- Expected
+ Received
- 100.00E18
+ 100.00e¹⁸
❯ src/utils/helpers/number.test.ts:329:38
|
Tests (20.x)
Process completed with exit code 1.
|
Tests (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|