harb/kraiken-lib/src/tests
openhands 04fbca939f fix: \commaNumber\ silently returns '0' for NaN and falsy values (#427)
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.
2026-03-06 05:51:50 +00:00
..
format.test.ts fix: \commaNumber\ silently returns '0' for NaN and falsy values (#427) 2026-03-06 05:51:50 +00:00
functions.test.ts fix: \uint256ToBytesLittleEndian\ silently truncates above 2³²−1 (#294) 2026-02-27 06:42:59 +00:00
ids.test.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00
position.test.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00
snatch.test.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00
staking.test.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00
subgraph.test.ts fix: \uint256ToBytesLittleEndian\ silently truncates above 2³²−1 (#294) 2026-02-27 06:42:59 +00:00
taxRates.test.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00
version.test.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00