FIX: Fix formatInput and add test workflow #2
Annotations
2 errors
src/utils/number.test.ts > Format input > Should format input if fraction point omits decimal zeros:
src/utils/number.ts#L47
Error: dnum: incorrect number (1.)
❯ Module.N node_modules/.pnpm/[email protected]/node_modules/dnum/src/dnum.ts:52:11
❯ Module.formatInput src/utils/number.ts:47:19
❯ src/utils/number.test.ts:26:23
|
Tests (20.x)
Process completed with exit code 1.
|